Build:
  1. 5
  2. 4
  3. 3
  4. 2
  5. 1
  6. 0
2024-09-26 11:06.44: New job: Build using linux-arm64 in
                                []
2024-09-26 11:06.44: Will push staging image to ocurrent/opam-staging:debian-11-ocaml-5.4-arm32v7

Dockerfile:

# syntax=docker/dockerfile:1

FROM ocurrent/opam-staging@sha256:036e5ac56a3b8add56ea31ce86422c26f6c6c985be1fcd4cdeefc91245ebc522
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 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.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 [ "/usr/bin/linux32", "opam", "exec", "--" ]
CMD bash
COPY --link [ "Dockerfile", "/Dockerfile.ocaml" ]


2024-09-26 11:06.44: Using cache hint "5.4.0-arm32v7-ocurrent/opam-staging@sha256:036e5ac56a3b8add56ea31ce86422c26f6c6c985be1fcd4cdeefc91245ebc522"
2024-09-26 11:06.44: Waiting for resource in pool OCluster
2024-09-26 11:06.44: Waiting for worker…
2024-09-26 11:06.44: Got resource from pool OCluster
Building on ocaml-2.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 .dockerignore
#1 transferring context:
#1 transferring context: 2B done
#1 DONE 1.0s

#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 819B done
#2 DONE 1.1s

#3 resolve image config for docker.io/docker/dockerfile:1
#3 DONE 1.7s

#4 docker-image://docker.io/docker/dockerfile:1@sha256:865e5dd094beca432e8c0a1d5e1c465db5f998dca4e439981029b3b81fb39ed5
#4 CACHED

#5 [internal] load metadata for docker.io/ocurrent/opam-staging@sha256:036e5ac56a3b8add56ea31ce86422c26f6c6c985be1fcd4cdeefc91245ebc522
#5 DONE 2.4s

#6 [1/9] FROM docker.io/ocurrent/opam-staging@sha256:036e5ac56a3b8add56ea31ce86422c26f6c6c985be1fcd4cdeefc91245ebc522
#6 DONE 0.0s

#7 [3/9] RUN apt-get -y update
#7 CACHED

#8 [4/9] RUN DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
#8 CACHED

#9 [2/9] RUN opam repo add beta git+https://github.com/ocaml/ocaml-beta-repository --set-default
#9 CACHED

#10 [5/9] RUN DEBIAN_FRONTEND=noninteractive apt-get -y install libzstd-dev
#10 CACHED

#11 [internal] load build context
#11 transferring context:
#11 transferring context: 819B done
#11 DONE 1.4s

#12 [6/9] RUN opam switch create 5.4 --packages=ocaml-variants.5.4.0+trunk
#12 20.08 
#12 20.08 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#12 23.18 [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
#12 23.35 [ocaml-config.3/ocaml-config.install] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-config/ocaml-config.install
#12 24.01 [ocaml-variants.5.4.0+trunk] downloaded from https://github.com/ocaml/ocaml/archive/trunk.tar.gz
#12 25.63 
#12 25.63 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#12 25.64 -> installed base-bigarray.base
#12 25.64 -> installed base-threads.base
#12 25.67 -> installed base-unix.base
#12 25.67 -> installed host-arch-arm32.1
#12 25.67 -> installed host-system-other.1
#12 25.67 -> installed ocaml-beta.enabled
#12 25.68 -> installed ocaml-option-bytecode-only.1
#12 96.58 -> installed ocaml-variants.5.4.0+trunk
#12 96.67 -> installed ocaml-config.3
#12 96.85 -> installed ocaml.5.4.0
#12 96.90 -> installed base-domains.base
#12 96.94 -> installed base-effects.base
#12 96.98 -> installed base-nnp.base
#12 97.45 Done.
#12 97.45 # Run eval $(opam env) to update the current shell environment
#12 DONE 100.2s

#13 [7/9] RUN opam pin add -k version ocaml-variants 5.4.0+trunk
#13 7.028 ocaml-variants is now pinned to version 5.4.0+trunk
#13 7.028 
#13 16.89 Already up-to-date.
#13 16.89 Nothing to do.
#13 16.89 # Run eval $(opam env) to update the current shell environment
#13 DONE 18.5s

#14 [8/9] RUN opam install -y opam-depext
#14 12.18 The following actions will be performed:
#14 12.18   - install opam-depext 1.2.3
#14 12.18 
#14 12.18 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#14 12.75 [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
#14 12.99 
#14 12.99 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#14 15.45 -> installed opam-depext.1.2.3
#14 15.46 Done.
#14 15.46 # Run eval $(opam env) to update the current shell environment
#14 DONE 16.4s

#15 [9/9] COPY --link [ Dockerfile, /Dockerfile.ocaml ]
#15 DONE 1.1s

#16 exporting to image
#16 exporting layers
#16 exporting layers 8.3s done
#16 writing image sha256:b2726ade468b87320854fc2845ff68cc66c73c856675cd2951c352f4e33522ad 0.1s done
#16 DONE 8.4s

 1 warning found (use --debug to expand):
 - InvalidBaseImagePlatform: Base image ocurrent/opam-staging@sha256:036e5ac56a3b8add56ea31ce86422c26f6c6c985be1fcd4cdeefc91245ebc522 was pulled with platform "linux/arm/v7", expected "linux/arm64" for current build (line 3)
Pushing "sha256:b2726ade468b87320854fc2845ff68cc66c73c856675cd2951c352f4e33522ad" to "ocurrent/opam-staging:debian-11-ocaml-5.4-arm32v7" as user "ocurrentbuilder"
Login Succeeded
The push refers to repository [docker.io/ocurrent/opam-staging]
98a6dadc3627: Preparing
ff5fcca94644: Preparing
8909c8d5851d: Preparing
5556ab74afe6: Preparing
8ffe4a6cc5ea: Preparing
068bcb569526: Preparing
10e01b215b40: Preparing
068bcb569526: Waiting
a988fe75fa3d: Preparing
fb303d456148: Preparing
10e01b215b40: Waiting
a988fe75fa3d: Waiting
fb303d456148: Waiting
8909c8d5851d: Pushed
98a6dadc3627: Pushed
ff5fcca94644: Pushed
8ffe4a6cc5ea: Pushed
fb303d456148: Layer already exists
068bcb569526: Pushed
10e01b215b40: Pushed
a988fe75fa3d: Pushed
5556ab74afe6: Pushed
debian-11-ocaml-5.4-arm32v7: digest: sha256:b93f191858ea7a8f9f953a372cda0f541358f5cca5f7364209d0cae7576fc5e9 size: 2208
The push refers to repository [docker.io/ocurrent/opam-staging]
98a6dadc3627: Preparing
ff5fcca94644: Preparing
8909c8d5851d: Preparing
5556ab74afe6: Preparing
8ffe4a6cc5ea: Preparing
068bcb569526: Preparing
10e01b215b40: Preparing
a988fe75fa3d: Preparing
fb303d456148: Preparing
068bcb569526: Waiting
a988fe75fa3d: Waiting
fb303d456148: Waiting
10e01b215b40: Waiting
8ffe4a6cc5ea: Layer already exists
ff5fcca94644: Layer already exists
8909c8d5851d: Layer already exists
98a6dadc3627: Layer already exists
5556ab74afe6: Layer already exists
10e01b215b40: Layer already exists
a988fe75fa3d: Layer already exists
068bcb569526: Layer already exists
fb303d456148: Layer already exists
debian-11-ocaml-5.4-arm32v7: digest: sha256:b93f191858ea7a8f9f953a372cda0f541358f5cca5f7364209d0cae7576fc5e9 size: 2208
Job succeeded
2024-09-26 11:09.54: Job succeeded