File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ WORKDIR /home/opam/learn-ocaml
55
66COPY learn-ocaml.opam learn-ocaml.opam.locked learn-ocaml-client.opam learn-ocaml-client.opam.locked ./
77RUN sudo chown -R opam:nogroup .
8+ RUN sudo ln -sf /usr/bin/opam-2.3 /usr/bin/opam && opam init --reinit -ni
89
910ENV OPAMYES true
1011RUN echo 'archive-mirrors: [ "https://opam.ocaml.org/cache" ]' >> ~/.opam/config \
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ WORKDIR /home/opam/learn-ocaml
99# Note: don't copy learn-ocaml.opam.locked
1010COPY learn-ocaml-client.opam learn-ocaml.opam ./
1111RUN sudo chown -R opam:nogroup .
12+ RUN sudo ln -sf /usr/bin/opam-2.3 /usr/bin/opam && opam init --reinit -ni
1213
1314ENV OPAMYES true
1415RUN echo 'archive-mirrors: [ "https://opam.ocaml.org/cache" ]' >> ~/.opam/config \
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ WORKDIR /home/opam/learn-ocaml
99# Note: don't copy learn-ocaml.locked
1010COPY learn-ocaml.opam learn-ocaml-client.opam ./
1111RUN sudo chown -R opam:nogroup .
12+ RUN sudo ln -sf /usr/bin/opam-2.3 /usr/bin/opam && opam init --reinit -ni
1213
1314ENV OPAMYES true
1415RUN echo 'archive-mirrors: [ "https://opam.ocaml.org/cache" ]' >> ~/.opam/config \
You can’t perform that action at this time.
0 commit comments