Commit 5922f9ab authored by Louis Gesbert's avatar Louis Gesbert
Browse files

Add two workarounds

- for OCaml 4.08: install coreutils (see https://github.com/ocaml/ocaml/issues/9245)
- for opam 2.1.0~alpha: add something to /tmp
parent 37edc251
Pipeline #9300 failed with stages
in 20 seconds
......@@ -2,7 +2,7 @@ FROM alpine:3.11 as compilation
ARG OCAML_VERSION=4.10.0
RUN apk add gcc g++ make
RUN apk add gcc g++ make coreutils
ADD https://github.com/ocaml/ocaml/archive/${OCAML_VERSION}.tar.gz /src/ocaml.tar.gz
WORKDIR /src/ocaml
RUN tar xzf ../ocaml.tar.gz --strip-components=1
......@@ -34,4 +34,5 @@ USER ocaml
WORKDIR /home/ocaml
ENV OPAMYES 1
RUN touch /tmp/foo
RUN ["/usr/local/bin/opam", "init", "-a", "--bare", "--disable-sandboxing"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment