Reduce image size by cleaning opam cache. #2
1 changed files with 2 additions and 1 deletions
|
|
@ -122,5 +122,6 @@ RUN git clone --depth=1 --recursive --branch=z3-4.13.3 https://git.libre-chip.or
|
||||||
# https://gitlab.com/rocq-community/docker-rocq/-/blob/c4507ab5c137227700dac7e35fb5c0747fcd272f/rocq/stable/Dockerfile (MIT license)
|
# https://gitlab.com/rocq-community/docker-rocq/-/blob/c4507ab5c137227700dac7e35fb5c0747fcd272f/rocq/stable/Dockerfile (MIT license)
|
||||||
RUN opam init --auto-setup --yes --disable-sandboxing \
|
RUN opam init --auto-setup --yes --disable-sandboxing \
|
||||||
&& eval $(opam env) \
|
&& eval $(opam env) \
|
||||||
&& opam pin -y add rocq-prover 9.0.0
|
&& opam pin -y add rocq-prover 9.0.0 \
|
||||||
|
&& opam clean -a -r -c -s --logs
|
||||||
ENV PATH=/root/.opam/default/bin:$PATH
|
ENV PATH=/root/.opam/default/bin:$PATH
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue