Build:
  1. 0
2025-06-07 12:06.06: New job: Build using linux-x86_64 in
                                []
2025-06-07 12:06.06: Will push staging image to ocurrent/opam-staging:debian-11-ocaml-5.1-amd64

Dockerfile:

# syntax=docker/dockerfile:1

FROM ocurrent/opam-staging@sha256:5c3839cefe514f839155d8b51c8a680982eeb70e2db8981e5ef1af7049ae380c
ENV OPAMYES="1" OPAMCONFIRMLEVEL="unsafe-yes" OPAMERRLOGLEN="0" OPAMPRECISETRACKING="1"
USER root
RUN apt-get -y update
RUN DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install libzstd-dev
USER opam
RUN opam switch create 5.1 --packages=ocaml-base-compiler.5.1.1
RUN opam pin add -k version ocaml-base-compiler 5.1.1
RUN opam install -y opam-depext
ENTRYPOINT [ "opam", "exec", "--" ]
CMD bash
COPY --link [ "Dockerfile", "/Dockerfile.ocaml" ]


2025-06-07 12:06.06: Using cache hint "5.1.1-amd64-ocurrent/opam-staging@sha256:5c3839cefe514f839155d8b51c8a680982eeb70e2db8981e5ef1af7049ae380c"
2025-06-07 12:06.06: Waiting for resource in pool OCluster
2025-06-07 12:06.06: Waiting for worker…
2025-06-07 12:22.06: 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: 663B done
#1 DONE 0.0s

#2 resolve image config for docker-image://docker.io/docker/dockerfile:1
#2 DONE 0.3s

#3 docker-image://docker.io/docker/dockerfile:1@sha256:9857836c9ee4268391bb5b09f9f157f3c91bb15821bb77969642813b0d00518d
#3 CACHED

#4 [internal] load metadata for docker.io/ocurrent/opam-staging@sha256:5c3839cefe514f839155d8b51c8a680982eeb70e2db8981e5ef1af7049ae380c
#4 DONE 0.0s

#5 [internal] load .dockerignore
#5 transferring context: 2B done
#5 DONE 0.0s

#6 [1/5] FROM docker.io/ocurrent/opam-staging@sha256:5c3839cefe514f839155d8b51c8a680982eeb70e2db8981e5ef1af7049ae380c
#6 resolve docker.io/ocurrent/opam-staging@sha256:5c3839cefe514f839155d8b51c8a680982eeb70e2db8981e5ef1af7049ae380c done
#6 sha256:5c3839cefe514f839155d8b51c8a680982eeb70e2db8981e5ef1af7049ae380c 530B / 530B done
#6 sha256:f39ed21204e9e811f6880e0975564aac023d169b3fba35da3cd03a051498a722 8.33kB / 8.33kB done
#6 sha256:056895620c2bc5446605b6a5b47c6baf457175f470d1ef4fffc47aa1b9da1c08 484.06MB / 484.06MB 13.6s done
#6 extracting sha256:056895620c2bc5446605b6a5b47c6baf457175f470d1ef4fffc47aa1b9da1c08 42.5s done
#6 DONE 59.3s

#7 [internal] load build context
#7 transferring context: 663B done
#7 DONE 0.0s

#8 [2/8] RUN apt-get -y update
#8 0.659 Hit:1 http://deb.debian.org/debian bullseye InRelease
#8 0.667 Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
#8 0.690 Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
#8 1.029 Reading package lists...
#8 DONE 1.4s

#9 [3/8] RUN DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
#9 0.346 Reading package lists...
#9 0.713 Building dependency tree...
#9 0.783 Reading state information...
#9 0.794 Calculating upgrade...
#9 0.885 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
#9 DONE 0.9s

#10 [4/8] RUN DEBIAN_FRONTEND=noninteractive apt-get -y install libzstd-dev
#10 0.362 Reading package lists...
#10 0.733 Building dependency tree...
#10 0.806 Reading state information...
#10 0.914 The following NEW packages will be installed:
#10 0.914   libzstd-dev
#10 0.985 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
#10 0.985 Need to get 382 kB of archives.
#10 0.985 After this operation, 1364 kB of additional disk space will be used.
#10 0.985 Get:1 http://deb.debian.org/debian bullseye/main amd64 libzstd-dev amd64 1.4.8+dfsg-2.1 [382 kB]
#10 1.175 debconf: delaying package configuration, since apt-utils is not installed
#10 1.199 Fetched 382 kB in 0s (2534 kB/s)
#10 1.214 Selecting previously unselected package libzstd-dev:amd64.
#10 1.214 (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18342 files and directories currently installed.)
#10 1.225 Preparing to unpack .../libzstd-dev_1.4.8+dfsg-2.1_amd64.deb ...
#10 1.226 Unpacking libzstd-dev:amd64 (1.4.8+dfsg-2.1) ...
#10 1.272 Setting up libzstd-dev:amd64 (1.4.8+dfsg-2.1) ...
#10 DONE 1.3s

#11 [5/8] RUN opam switch create 5.1 --packages=ocaml-base-compiler.5.1.1
#11 3.413 
#11 3.413 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#11 3.635 [ocaml-config.3/gen_ocaml_config.ml.in] downloaded from https://opam.ocaml.org/cache
#11 3.793 [ocaml-config.3/ocaml-config.install] downloaded from https://opam.ocaml.org/cache
#11 4.062 [ocaml-base-compiler.5.1.1] downloaded from cache at https://opam.ocaml.org/cache
#11 5.109 [ocaml-base-compiler.5.1.1/ocaml-base-compiler.install] downloaded from https://opam.ocaml.org/cache
#11 5.110 
#11 5.110 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#11 5.567 -> installed base-bigarray.base
#11 5.568 -> installed base-threads.base
#11 5.570 -> installed base-unix.base
#11 5.576 -> installed ocaml-options-vanilla.1
#11 87.94 -> installed ocaml-base-compiler.5.1.1
#11 87.99 -> installed ocaml-config.3
#11 88.10 -> installed ocaml.5.1.1
#11 88.14 -> installed base-domains.base
#11 88.18 -> installed base-nnp.base
#11 88.67 Done.
#11 88.67 # Run eval $(opam env) to update the current shell environment
#11 DONE 89.0s

#12 [6/8] RUN opam pin add -k version ocaml-base-compiler 5.1.1
#12 0.529 ocaml-base-compiler is now pinned to version 5.1.1
#12 0.529 
#12 3.299 No package build needed.
#12 3.299 Nothing to do.
#12 3.299 # Run eval $(opam env) to update the current shell environment
#12 DONE 3.4s

#13 [7/8] RUN opam install -y opam-depext
#13 3.732 The following actions will be performed:
#13 3.732   - install opam-depext 1.2.3
#13 3.732 
#13 3.732 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 4.250 [opam-depext.1.2.3] downloaded from cache at https://opam.ocaml.org/cache
#13 4.271 
#13 4.271 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 5.497 -> installed opam-depext.1.2.3
#13 5.504 Done.
#13 5.504 # Run eval $(opam env) to update the current shell environment
#13 DONE 5.6s

#14 [8/8] COPY --link [ Dockerfile, /Dockerfile.ocaml ]
#14 DONE 0.0s

#15 exporting to image
#15 exporting layers
#15 exporting layers 1.3s done
#15 writing image sha256:b03a53ca8a1e0225aa34cd2c3bc7acd32571d67536bf8a5eda361b8a4d47b4f0 done
#15 DONE 1.3s

 1 warning found (use docker --debug to expand):
 - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 14)
Pushing "sha256:b03a53ca8a1e0225aa34cd2c3bc7acd32571d67536bf8a5eda361b8a4d47b4f0" to "ocurrent/opam-staging:debian-11-ocaml-5.1-amd64" as user "ocurrentbuilder"
Login Succeeded
The push refers to repository [docker.io/ocurrent/opam-staging]
e4ad9f87b79a: Preparing
3aeff08d295a: Preparing
c95d0952b397: Preparing
587b7a7428e9: Preparing
d44bf3e87e3d: Preparing
1c80bc450bf5: Preparing
1f4b401fe0b8: Preparing
f0a108ba3e72: Preparing
1c80bc450bf5: Waiting
1f4b401fe0b8: Waiting
f0a108ba3e72: Waiting
e4ad9f87b79a: Pushed
c95d0952b397: Pushed
3aeff08d295a: Pushed
d44bf3e87e3d: Pushed
f0a108ba3e72: Layer already exists
1c80bc450bf5: Pushed
1f4b401fe0b8: Pushed
587b7a7428e9: Pushed
debian-11-ocaml-5.1-amd64: digest: sha256:31955ac4912a28b41544dc6b909cdaff03d058980583fb85e6c03f7d503faa54 size: 1994
The push refers to repository [docker.io/ocurrent/opam-staging]
e4ad9f87b79a: Preparing
3aeff08d295a: Preparing
c95d0952b397: Preparing
587b7a7428e9: Preparing
d44bf3e87e3d: Preparing
1c80bc450bf5: Preparing
1f4b401fe0b8: Preparing
f0a108ba3e72: Preparing
1c80bc450bf5: Waiting
1f4b401fe0b8: Waiting
f0a108ba3e72: Waiting
3aeff08d295a: Layer already exists
e4ad9f87b79a: Layer already exists
d44bf3e87e3d: Layer already exists
c95d0952b397: Layer already exists
587b7a7428e9: Layer already exists
f0a108ba3e72: Layer already exists
1f4b401fe0b8: Layer already exists
1c80bc450bf5: Layer already exists
debian-11-ocaml-5.1-amd64: digest: sha256:31955ac4912a28b41544dc6b909cdaff03d058980583fb85e6c03f7d503faa54 size: 1994
Job succeeded
2025-06-07 13:52.06: Job succeeded