Skip to content

Commit

Permalink
👷 Dockerfile on artifact ZIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ecranceMERCE committed Jan 3, 2024
1 parent 7dbe1d6 commit 45ce115
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
FROM coqorg/coq:8.17.1

COPY artifact-clean.zip artifact-clean.zip
RUN eval $(opam env "--switch=${COMPILER}" --set-switch)
RUN opam update -y
RUN cd artifact-clean
RUN opam install -y -j "${NJOBS}" ./coq-elpi
RUN cd ..
RUN opam install -y -j "${NJOBS}" .
RUN unzip artifact-clean.zip
RUN cd artifact-clean && make
4 changes: 2 additions & 2 deletions artifact-clean/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.PHONY: all

all:
opam install ./coq-elpi
opam install ./trocq
opam install -y ./coq-elpi
opam install -y ./trocq

clean:
opam uninstall coq-elpi coq-trocq

0 comments on commit 45ce115

Please sign in to comment.