Relocate .opam
This commit is contained in:
parent
9c9e0e0a2b
commit
c83813456a
@ -26,7 +26,7 @@ RUN opam update
|
||||
|
||||
# Install ligo
|
||||
RUN sh scripts/install_vendors_deps.sh
|
||||
RUN opam install -y ./src
|
||||
RUN opam install -y .
|
||||
|
||||
# Use the ligo binary as a default command
|
||||
ENTRYPOINT [ "/home/opam/.opam/4.07/bin/ligo" ]
|
||||
|
@ -14,7 +14,8 @@ then
|
||||
m4 \
|
||||
libcap \
|
||||
bubblewrap \
|
||||
rsync
|
||||
rsync \
|
||||
git
|
||||
|
||||
else
|
||||
apt-get update -qq
|
||||
@ -27,5 +28,6 @@ else
|
||||
m4 \
|
||||
libcap-dev \
|
||||
bubblewrap \
|
||||
rsync
|
||||
rsync \
|
||||
git
|
||||
fi
|
||||
|
@ -2,5 +2,5 @@
|
||||
set -e
|
||||
|
||||
# Install local dependencies
|
||||
opam install -y --deps-only --with-test $(find src vendors -name \*.opam)
|
||||
opam install -y --deps-only --with-test ./ligo.opam $(find vendors -name \*.opam)
|
||||
opam install -y $(find vendors -name \*.opam)
|
||||
|
@ -2,5 +2,5 @@
|
||||
set -e
|
||||
set -x
|
||||
|
||||
printf '' | opam switch create . ocaml-base-compiler.4.07.1 # toto ocaml-base-compiler.4.06.1
|
||||
printf '' | opam switch create . ocaml-base-compiler.4.07.1 --no-install
|
||||
eval $(opam config env)
|
||||
|
Loading…
Reference in New Issue
Block a user