Build:
- 0
2025-06-21 11:53.34: New job: Build using linux-arm64 in
[]
2025-06-21 11:53.34: Will push staging image to ocurrent/opam-staging:alpine-3.21-ocaml-5.4-arm64
Dockerfile:
# syntax=docker/dockerfile:1
FROM ocurrent/opam-staging@sha256:9f91b79834d8fb4d3a093b1e75513eb97bbc956472499236fa08b3d2426aff6c
RUN opam repo add beta git+https://github.com/ocaml/ocaml-beta-repository --set-default
ENV OPAMYES="1" OPAMCONFIRMLEVEL="unsafe-yes" OPAMERRLOGLEN="0" OPAMPRECISETRACKING="1"
USER root
RUN apk update && apk upgrade
RUN apk add zstd
USER opam
RUN opam switch create 5.4 --packages=ocaml-variants.5.4.0+trunk
RUN opam pin add -k version ocaml-variants 5.4.0+trunk
RUN opam install -y opam-depext
ENTRYPOINT [ "opam", "exec", "--" ]
CMD bash
COPY --link [ "Dockerfile", "/Dockerfile.ocaml" ]
2025-06-21 11:53.34: Using cache hint "5.4.0-arm64-ocurrent/opam-staging@sha256:9f91b79834d8fb4d3a093b1e75513eb97bbc956472499236fa08b3d2426aff6c"
2025-06-21 11:53.34: Waiting for resource in pool OCluster
2025-06-21 11:53.34: Waiting for worker…
2025-06-21 13:44.50: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
#2 [internal] load .dockerignore
#2 sha256:de035a50b0cc8f8f90222a2135f6e507104d7e4b3a9cc2e194578a389fbc3764
#2 transferring context: 2B done
#2 DONE 0.2s
#1 [internal] load build definition from Dockerfile
#1 sha256:d500d17f6f9a151ac80e6b7fafdd46d433f64b7687c92182b620c9e81d18c57e
#1 transferring dockerfile: 658B done
#1 DONE 0.2s
#3 resolve image config for docker.io/docker/dockerfile:1
#3 sha256:5511bf222770ecb09bae16a5e9dc6ddaf6633b05719203c5e2b00644727cd62f
#3 DONE 0.6s
#4 docker-image://docker.io/docker/dockerfile:1@sha256:9857836c9ee4268391bb5b09f9f157f3c91bb15821bb77969642813b0d00518d
#4 sha256:e1b8ab9c4c488e39bfb8463f516b8fd036cc51116d72fd9d07edde22bf8d34c6
#4 CACHED
#5 [internal] load build definition from Dockerfile
#5 sha256:332c4c9c990070f77d0717107e279903165f0f0d676077120dfc61c34a4d10fc
#5 DONE 0.0s
#6 [internal] load metadata for docker.io/ocurrent/opam-staging@sha256:9f91b79834d8fb4d3a093b1e75513eb97bbc956472499236fa08b3d2426aff6c
#6 sha256:c18f2e9a3855326f423d4c8fba5800e8fd42b368961b534bd0331a5f6253d83e
#6 DONE 0.0s
#7 [internal] load .dockerignore
#7 sha256:0d785d32465ed9e444cf694ef2a97bb64be6f43b0624949c5b19924875c9bca3
#7 DONE 0.0s
#8 [1/8] FROM docker.io/ocurrent/opam-staging@sha256:9f91b79834d8fb4d3a093b1e75513eb97bbc956472499236fa08b3d2426aff6c
#8 sha256:285cd955854b511758c06f3b1b15cbc15aacde993369e6d3cef1ff4b1eea2d33
#8 CACHED
#15 [internal] load build context
#15 sha256:b3d9a7ca1e6a8f26c4dc613b9ff9d49629fe43eb8efcb2e39e23f16ed2375540
#15 transferring context: 658B done
#15 DONE 0.1s
#9 [2/8] RUN opam repo add beta git+https://github.com/ocaml/ocaml-beta-repository --set-default
#9 sha256:788bb3af10bbf18854c3b930a9f07890cc55b0cac186f07229a5760d01271b26
#9 1.306 [beta] Initialised
#9 DONE 1.5s
#10 [3/8] RUN apk update && apk upgrade
#10 sha256:540e6a140673f48310d9a568dc838efb3daf392d583350797d045214efc640f5
#10 0.384 fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/aarch64/APKINDEX.tar.gz
#10 0.540 fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/aarch64/APKINDEX.tar.gz
#10 0.797 fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz
#10 0.871 fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz
#10 1.098 fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz
#10 1.448 v3.21.3-603-g364e1f9788f [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
#10 1.448 v3.21.3-605-g3307d5c253d [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
#10 1.448 v3.23.0_alpha20250612-581-g0452f3e42db [https://dl-cdn.alpinelinux.org/alpine/edge/main]
#10 1.448 v3.23.0_alpha20250612-586-g6c5d234b964 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
#10 1.448 v3.23.0_alpha20250612-582-g8a3fc1bc8f0 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
#10 1.448 OK: 59106 distinct packages available
#10 2.223 (1/3) Upgrading python3 (3.12.10-r1 -> 3.12.11-r0)
#10 2.478 (2/3) Upgrading python3-pycache-pyc0 (3.12.10-r1 -> 3.12.11-r0)
#10 2.620 (3/3) Upgrading python3-pyc (3.12.10-r1 -> 3.12.11-r0)
#10 2.620 Executing busybox-1.37.0-r12.trigger
#10 2.636 OK: 301 MiB in 101 packages
#10 DONE 2.9s
#11 [4/8] RUN apk add zstd
#11 sha256:7e86888a5da3c2ad7e912687b598594ea8bd78a3edaa377bc5b4d88263cba085
#11 0.947 (1/1) Installing zstd (1.5.6-r2)
#11 1.016 Executing busybox-1.37.0-r12.trigger
#11 1.033 OK: 301 MiB in 102 packages
#11 DONE 1.2s
#12 [5/8] RUN opam switch create 5.4 --packages=ocaml-variants.5.4.0+trunk
#12 sha256:ee4aa5ce0813f2df0a1f83b869bba99260b27859190255c8a5c6cbcec5f694f8
#12 3.722
#12 3.722 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#12 3.807 [ocaml-config.3/gen_ocaml_config.ml.in] downloaded from https://opam.ocaml.org/cache
#12 3.890 [ocaml-config.3/ocaml-config.install] downloaded from https://opam.ocaml.org/cache
#12 5.497 [ocaml-compiler.5.4] downloaded from https://github.com/ocaml/ocaml/archive/5.4.tar.gz
#12 6.141
#12 6.141 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#12 6.145 -> installed base-bigarray.base
#12 6.147 -> installed base-threads.base
#12 6.153 -> installed base-unix.base
#12 6.154 -> installed host-arch-arm64.1
#12 6.156 -> installed host-system-other.1
#12 6.157 -> installed ocaml-beta.enabled
#12 117.1 -> installed ocaml-compiler.5.4
#12 117.2 -> installed ocaml-variants.5.4.0+trunk
#12 117.2 -> installed ocaml-config.3
#12 117.4 -> installed ocaml.5.4.0
#12 117.4 -> installed base-domains.base
#12 117.4 -> installed base-effects.base
#12 117.4 -> installed base-nnp.base
#12 117.8 Done.
#12 117.8 # Run eval $(opam env) to update the current shell environment
#12 DONE 118.4s
#13 [6/8] RUN opam pin add -k version ocaml-variants 5.4.0+trunk
#13 sha256:6a8adc9bfce87665d3cc0030fcd1492b69dff5ada5a81d4d17972c3a7f53a0e2
#13 0.684 ocaml-variants is now pinned to version 5.4.0+trunk
#13 0.684
#13 3.445 No package build needed.
#13 3.445 Nothing to do.
#13 3.453 # Run eval $(opam env) to update the current shell environment
#13 DONE 3.5s
#14 [7/8] RUN opam install -y opam-depext
#14 sha256:7c4893b75a52232c2038ea08f75abb5793734fbc2853e5112eb2196e7f92dc04
#14 3.613 The following actions will be performed:
#14 3.613 - install opam-depext 1.2.3
#14 3.613
#14 3.613 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#14 3.744 [opam-depext.1.2.3] downloaded from cache at https://opam.ocaml.org/cache
#14 3.778
#14 3.778 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#14 5.677 -> installed opam-depext.1.2.3
#14 5.686 Done.
#14 5.690 # Run eval $(opam env) to update the current shell environment
#14 DONE 5.8s
#16 [8/8] COPY --link [ Dockerfile, /Dockerfile.ocaml ]
#16 sha256:01446582c18d873d72152431f07bb80d905e8ae2dce3447316c07d1151a919bd
#16 DONE 0.1s
#17 exporting to image
#17 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#17 exporting layers
#17 exporting layers 1.9s done
#17 writing image sha256:70c31805cf3106c61a31740558b949131070cca53711f5d0850894b9bae1fad8 done
#17 DONE 1.9s
Pushing "sha256:db702ddd654918643b3b8ac6dd2611d8f277e1dc2e62c64f9211e7d96c5626ee" to "ocurrent/opam-staging:alpine-3.21-ocaml-5.4-arm64" as user "ocurrentbuilder"
Login Succeeded
The push refers to repository [docker.io/ocurrent/opam-staging]
773ef1e01cea: Preparing
773ef1e01cea: Pushed
alpine-3.21-ocaml-5.4-arm64: digest: sha256:aae02493217c86d1772bc35c3b430d3327051f8698fd81eff90678df07102e1c size: 531
The push refers to repository [docker.io/ocurrent/opam-staging]
773ef1e01cea: Preparing
773ef1e01cea: Layer already exists
alpine-3.21-ocaml-5.4-arm64: digest: sha256:aae02493217c86d1772bc35c3b430d3327051f8698fd81eff90678df07102e1c size: 531
Job succeeded
2025-06-21 14:13.35: Job succeeded