Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ushitora-anqou committed Nov 3, 2023
1 parent 2f694c2 commit fa9adb8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@ RUN apt-get update && apt-get install -y \

USER opam
WORKDIR /home/opam/yomer
RUN opam-2.1 update && \
RUN eval $(opam-2.1 env) && \
opam-2.1 update && \
opam-2.1 pin websocket "https://github.com/ushitora-anqou/ocaml-websocket.git#eio" && \
opam-2.1 pin websocket-eio "https://github.com/ushitora-anqou/ocaml-websocket.git#eio" && \
opam-2.1 pin sodium "https://github.com/ushitora-anqou/ocaml-sodium.git#yomer"

COPY --chown=opam yomer.opam .
RUN opam-2.1 install . --deps-only
RUN eval $(opam-2.1 env) && opam-2.1 install . --deps-only
COPY --chown=opam . .
RUN opam-2.1 install . --deps-only
RUN eval $(opam-2.1 env) && opam-2.1 install . --deps-only

ARG YOMER_VERSION
ARG YOMER_REVISION
Expand Down

0 comments on commit fa9adb8

Please sign in to comment.