Build:
  1. 0
2024-12-14 13:14.24: New job: Build using linux-arm64 in
                                []
2024-12-14 13:14.24: Will push staging image to ocurrent/opam-staging:alpine-3.20-ocaml-5.1-arm64

Dockerfile:

# syntax=docker/dockerfile:1

FROM ocurrent/opam-staging@sha256:08d423f7866e2066cce901c27774197ad73fedc1c6060684001f7f0e6e258446
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.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" ]


2024-12-14 13:14.24: Using cache hint "5.1.1-arm64-ocurrent/opam-staging@sha256:08d423f7866e2066cce901c27774197ad73fedc1c6060684001f7f0e6e258446"
2024-12-14 13:14.24: Waiting for resource in pool OCluster
2024-12-14 14:33.06: Waiting for worker…
2024-12-14 18:43.04: Got resource from pool OCluster
Building on ocaml-1.osuosl.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:
#1 transferring dockerfile: 568B done
#1 DONE 1.0s

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

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

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 568B done
#1 DONE 1.0s

#4 [internal] load build definition from Dockerfile
#4 DONE 0.0s

#5 [internal] load metadata for docker.io/ocurrent/opam-staging@sha256:08d423f7866e2066cce901c27774197ad73fedc1c6060684001f7f0e6e258446
#5 DONE 1.0s

#6 [internal] load .dockerignore
#6 transferring context: 2B done
#6 DONE 0.5s

#7 [internal] load build context
#7 ...

#8 [1/7] FROM docker.io/ocurrent/opam-staging@sha256:08d423f7866e2066cce901c27774197ad73fedc1c6060684001f7f0e6e258446
#8 CACHED

#7 [internal] load build context
#7 transferring context: 568B done
#7 DONE 1.0s

#9 [2/7] RUN apk update && apk upgrade
#9 1.619 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz
#9 1.879 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz
#9 2.254 fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz
#9 2.464 fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz
#9 2.989 fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz
#9 3.697 v3.20.3-414-g03b29bdd93a [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
#9 3.697 v3.20.3-414-g03b29bdd93a [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
#9 3.697 v3.21.0-670-g9826bbf0ff2 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
#9 3.697 v3.21.0-644-g28d316da026 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
#9 3.697 v3.21.0-655-g365597d0a35 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
#9 3.697 OK: 56477 distinct packages available
#9 4.994 (1/6) Upgrading libcurl (8.11.0-r2 -> 8.11.1-r0)
#9 5.047 (2/6) Upgrading curl (8.11.0-r2 -> 8.11.1-r0)
#9 5.062 (3/6) Upgrading python3 (3.12.7-r0 -> 3.12.8-r1)
#9 5.290 (4/6) Upgrading python3-pycache-pyc0 (3.12.7-r0 -> 3.12.8-r1)
#9 5.409 (5/6) Upgrading pyc (3.12.7-r1 -> 3.12.8-r1)
#9 5.413 (6/6) Upgrading python3-pyc (3.12.7-r0 -> 3.12.8-r1)
#9 5.417 Executing busybox-1.36.1-r29.trigger
#9 5.429 OK: 291 MiB in 100 packages
#9 DONE 7.2s

#10 [3/7] RUN apk add zstd
#10 1.969 (1/1) Installing zstd (1.5.6-r0)
#10 2.016 Executing busybox-1.36.1-r29.trigger
#10 2.027 OK: 291 MiB in 101 packages
#10 DONE 2.9s

#11 [4/7] RUN opam switch create 5.1 --packages=ocaml-base-compiler.5.1.1
#11 8.617 
#11 8.617 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#11 8.830 [ocaml-config.3/gen_ocaml_config.ml.in] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-config/gen_ocaml_config.ml.in.3
#11 8.884 [ocaml-config.3/ocaml-config.install] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-config/ocaml-config.install
#11 10.74 [ocaml-base-compiler.5.1.1] downloaded from https://github.com/ocaml/ocaml/archive/5.1.1.tar.gz
#11 11.59 [ocaml-base-compiler.5.1.1/ocaml-base-compiler.install] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-base-compiler/ocaml-base-compiler.install
#11 11.59 
#11 11.59 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#11 12.14 -> installed base-bigarray.base
#11 12.14 -> installed base-threads.base
#11 12.15 -> installed base-unix.base
#11 12.15 -> installed host-arch-arm64.1
#11 12.15 -> installed host-system-other.1
#11 12.15 -> installed ocaml-options-vanilla.1
#11 163.0 -> installed ocaml-base-compiler.5.1.1
#11 163.0 -> installed ocaml-config.3
#11 163.2 -> installed ocaml.5.1.1
#11 163.3 -> installed base-domains.base
#11 163.3 -> installed base-nnp.base
#11 163.9 Done.
#11 163.9 # Run eval $(opam env) to update the current shell environment
#11 DONE 170.2s

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

#13 [6/7] RUN opam install -y opam-depext
#13 16.54 The following actions will be performed:
#13 16.54   - install opam-depext 1.2.3
#13 16.54 
#13 16.54 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 17.14 [opam-depext.1.2.3] downloaded from https://github.com/ocaml-opam/opam-depext/releases/download/v1.2.3/opam-depext-full-1.2.3.tbz
#13 17.20 
#13 17.20 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 19.51 -> installed opam-depext.1.2.3
#13 19.52 Done.
#13 19.52 # Run eval $(opam env) to update the current shell environment
#13 DONE 21.1s

#14 [7/7] COPY --link [ Dockerfile, /Dockerfile.ocaml ]
#14 DONE 2.6s

#15 exporting to image
#15 exporting layers
#15 exporting layers 11.3s done
#15 writing image sha256:193b1b5870911b893e372eac9f402e9b4550a85e6cb6c879815929ff248b1c4b 0.0s done
#15 DONE 11.7s

 1 warning found (use --debug to expand):
 - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 13)
Pushing "sha256:193b1b5870911b893e372eac9f402e9b4550a85e6cb6c879815929ff248b1c4b" to "ocurrent/opam-staging:alpine-3.20-ocaml-5.1-arm64" as user "ocurrentbuilder"
Login Succeeded
The push refers to repository [docker.io/ocurrent/opam-staging]
7a47209097b3: Preparing
1806123298e1: Preparing
101490d9b581: Preparing
d654eb467a4a: Preparing
c18167c3d9d8: Preparing
35062b236019: Preparing
a8848bd86a53: Preparing
35062b236019: Waiting
a8848bd86a53: Waiting
101490d9b581: Pushed
1806123298e1: Pushed
c18167c3d9d8: Pushed
a8848bd86a53: Layer already exists
7a47209097b3: Pushed
35062b236019: Pushed
d654eb467a4a: Pushed
alpine-3.20-ocaml-5.1-arm64: digest: sha256:85fecbfc7b3889c9ad5f607b65d3e004278831c72f3d673c210c98ce96965eb0 size: 1789
The push refers to repository [docker.io/ocurrent/opam-staging]
7a47209097b3: Preparing
1806123298e1: Preparing
101490d9b581: Preparing
d654eb467a4a: Preparing
c18167c3d9d8: Preparing
35062b236019: Preparing
a8848bd86a53: Preparing
35062b236019: Waiting
a8848bd86a53: Waiting
101490d9b581: Layer already exists
c18167c3d9d8: Layer already exists
7a47209097b3: Layer already exists
d654eb467a4a: Layer already exists
1806123298e1: Layer already exists
a8848bd86a53: Layer already exists
35062b236019: Layer already exists
alpine-3.20-ocaml-5.1-arm64: digest: sha256:85fecbfc7b3889c9ad5f607b65d3e004278831c72f3d673c210c98ce96965eb0 size: 1789
Job succeeded
2024-12-14 18:47.58: Job succeeded