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
3d0bf002
Commit
3d0bf002
authored
Oct 06, 2020
by
Louis Gesbert
Browse files
Set OPAMDEPEXTYES, we want it in containers
parent
ba1de7f9
Pipeline
#11328
passed with stages
in 11 seconds
Changes
2
Pipelines
7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
Dockerfile
Dockerfile
+1
-0
README.md
README.md
+3
-0
No files found.
Dockerfile
View file @
3d0bf002
...
...
@@ -33,6 +33,7 @@ RUN echo 'ocaml ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
USER
ocaml
WORKDIR
/home/ocaml
ENV
OPAMYES 1
ENV
OPAMDEPEXTYES 1
ARG
LAST_REPO_UPDATE=0
RUN
echo
"LAST_REPO_UPDATE=
${
LAST_REPO_UPDATE
}
"
...
...
README.md
View file @
3d0bf002
...
...
@@ -12,6 +12,9 @@ The images only contain:
No switches are pre-created, but you are encouraged to use the provided system
compiler to avoid re-building OCaml.
The default user is named
`ocaml`
, has
`sudo`
rights, and opam's external
dependency handling is enabled (
`OPAMDEPEXTYES=true`
).
The images are re-generated every week, which should avoid the need to run
`opam
update`
. You can typically start your project test scripts with:
...
...
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