Skip to content

Commit c7b156e

Browse files
committed
Fix opam 2.0.
1 parent a1fab15 commit c7b156e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

opam/2.0/Dockerfile

+2-4
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ RUN set -eux; \
4545
opam init -a -y --shell='sh' --disable-sandboxing; \
4646
eval "$(opam env)"; \
4747
opam update; \
48-
# https://discuss.ocaml.org/t/ann-opam-2-0-2/3046/11
49-
opam pin add -y dune 1.5.1; \
5048
opam install -y . --deps-only; \
5149
./configure; \
5250
sudo -E "PATH=$PATH" make libinstall; \
@@ -56,8 +54,8 @@ RUN set -eux; \
5654

5755
ENV ENV /home/opam/.profile
5856

59-
COPY --chown=opam docker-entrypoint.sh /docker-entrypoint.sh
57+
COPY --chown=opam:nogroup docker-entrypoint.sh /docker-entrypoint.sh
6058
RUN chmod 700 /docker-entrypoint.sh
6159

6260
ENTRYPOINT ["/docker-entrypoint.sh"]
63-
CMD ["opam"]
61+
CMD ["opam"]

0 commit comments

Comments
 (0)