Build:
- 1
- 0
2026-05-10 12:07.18: New job: Build using linux-x86_64 in
[]
2026-05-10 12:07.18: Will push staging image to ocurrent/opam-staging:centos-9-ocaml-4.08-amd64
Dockerfile:
# syntax=docker/dockerfile:1
FROM ocurrent/opam-staging@sha256:9f52e3b62ec011f548422e82dffd09109a712b4e20b8b3c426f5499e65994863
ENV OPAMYES="1" OPAMCONFIRMLEVEL="unsafe-yes" OPAMERRLOGLEN="0" OPAMPRECISETRACKING="1"
RUN opam switch create 4.08 --packages=ocaml-base-compiler.4.08.1
RUN opam pin add -k version ocaml-base-compiler 4.08.1
RUN opam install -y opam-depext
ENTRYPOINT [ "opam", "exec", "--" ]
CMD bash
COPY --link [ "Dockerfile", "/Dockerfile.ocaml" ]
2026-05-10 12:07.18: Using cache hint "4.08.1-amd64-ocurrent/opam-staging@sha256:9f52e3b62ec011f548422e82dffd09109a712b4e20b8b3c426f5499e65994863"
2026-05-10 12:07.18: Waiting for worker…
2026-05-10 12:07.18: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
WARNING: experimental flag squash is removed with BuildKit. You should squash inside build using a multi-stage Dockerfile for efficiency.
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 504B done
#1 DONE 0.1s
#2 resolve image config for docker-image://docker.io/docker/dockerfile:1
#2 DONE 0.7s
#3 docker-image://docker.io/docker/dockerfile:1@sha256:2780b5c3bab67f1f76c781860de469442999ed1a0d7992a5efdf2cffc0e3d769
#3 CACHED
#4 [internal] load metadata for docker.io/ocurrent/opam-staging@sha256:9f52e3b62ec011f548422e82dffd09109a712b4e20b8b3c426f5499e65994863
#4 DONE 0.5s
#5 [internal] load .dockerignore
#5 transferring context: 2B done
#5 DONE 0.1s
#6 [1/5] FROM docker.io/ocurrent/opam-staging@sha256:9f52e3b62ec011f548422e82dffd09109a712b4e20b8b3c426f5499e65994863
#6 CACHED
#7 [internal] load build context
#7 transferring context: 504B done
#7 DONE 0.1s
#8 [2/5] RUN opam switch create 4.08 --packages=ocaml-base-compiler.4.08.1
#8 0.536
#8 0.536 <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
#8 0.536 Switch invariant: ["ocaml-base-compiler" {= "4.08.1"}]
#8 4.350 [ERROR] Could not determine which packages to install for this switch:
#8 4.352 * Missing dependency:
#8 4.352 - ocaml-base-compiler < 4.11.0
#8 4.352 no matching version
#8 4.352
#8 4.352
#8 4.352 Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] y
#8 ERROR: process "/bin/sh -c opam switch create 4.08 --packages=ocaml-base-compiler.4.08.1" did not complete successfully: exit code: 20
------
> [2/5] RUN opam switch create 4.08 --packages=ocaml-base-compiler.4.08.1:
0.536
0.536 <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
0.536 Switch invariant: ["ocaml-base-compiler" {= "4.08.1"}]
4.350 [ERROR] Could not determine which packages to install for this switch:
4.352 * Missing dependency:
4.352 - ocaml-base-compiler < 4.11.0
4.352 no matching version
4.352
4.352
4.352 Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] y
------
1 warning found (use docker --debug to expand):
- JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 9)
Dockerfile:5
--------------------
3 | FROM ocurrent/opam-staging@sha256:9f52e3b62ec011f548422e82dffd09109a712b4e20b8b3c426f5499e65994863
4 | ENV OPAMYES="1" OPAMCONFIRMLEVEL="unsafe-yes" OPAMERRLOGLEN="0" OPAMPRECISETRACKING="1"
5 | >>> RUN opam switch create 4.08 --packages=ocaml-base-compiler.4.08.1
6 | RUN opam pin add -k version ocaml-base-compiler 4.08.1
7 | RUN opam install -y opam-depext
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c opam switch create 4.08 --packages=ocaml-base-compiler.4.08.1" did not complete successfully: exit code: 20
docker-build failed with exit-code 1
2026-05-10 12:07.24: Job failed: Failed: Build failed