Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
OCamlPro
ocaml-docker-images
Commits
b7eff3c4
Commit
b7eff3c4
authored
Jun 25, 2021
by
Louis Gesbert
Browse files
Switch to opam 2.1.0~rc2 (reverts
500b7bc0
)
parent
5fa8bd93
Pipeline
#14828
passed with stages
in 4 minutes and 41 seconds
Changes
1
Pipelines
8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Dockerfile
Dockerfile
+2
-3
No files found.
Dockerfile
View file @
b7eff3c4
...
@@ -7,10 +7,9 @@ ADD https://github.com/ocaml/ocaml/archive/${OCAML_VERSION}.tar.gz /src/ocaml.ta
...
@@ -7,10 +7,9 @@ ADD https://github.com/ocaml/ocaml/archive/${OCAML_VERSION}.tar.gz /src/ocaml.ta
WORKDIR
/src/ocaml
WORKDIR
/src/ocaml
RUN
tar
xzf ../ocaml.tar.gz
--strip-components
=
1
&&
./configure
&&
make world.opt
&&
make
install
&&
rm
-rf
/src/ocaml
RUN
tar
xzf ../ocaml.tar.gz
--strip-components
=
1
&&
./configure
&&
make world.opt
&&
make
install
&&
rm
-rf
/src/ocaml
#
ARG OPAM_VERSION=2.1.0-
beta4
ARG
OPAM_VERSION=2.1.0-
rc2
# ADD https://github.com/ocaml/opam/releases/download/${OPAM_VERSION}/opam-full-${OPAM_VERSION}.tar.gz /src/opam.tar.gz
ADD
https://github.com/ocaml/opam/releases/download/${OPAM_VERSION}/opam-full-${OPAM_VERSION}.tar.gz /src/opam.tar.gz
ADD
https://github.com/ocaml/opam/archive/refs/heads/master.tar.gz /src/opam.tar.gz
WORKDIR
/src/opam
WORKDIR
/src/opam
RUN
tar
xzf ../opam.tar.gz
--strip-components
=
1
&&
./configure
&&
make lib-ext
&&
make
&&
make
install
&&
rm
-rf
/src/opam
RUN
tar
xzf ../opam.tar.gz
--strip-components
=
1
&&
./configure
&&
make lib-ext
&&
make
&&
make
install
&&
rm
-rf
/src/opam
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment