Build:
- 0
2024-10-31 07:16.43: New job: Build using linux-x86_64 in
[]
2024-10-31 07:16.43: Will push staging image to ocurrent/opam-staging:debian-12-ocaml-5.3-amd64
Dockerfile:
# syntax=docker/dockerfile:1
FROM ocurrent/opam-staging@sha256:00121edf732bf196ca99bb22731244b771533894bd2596cb13e9f2066c2b1c53
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.3 --packages=ocaml-variants.5.3.0+trunk
RUN opam pin add -k version ocaml-variants 5.3.0+trunk
RUN opam install -y opam-depext
ENTRYPOINT [ "opam", "exec", "--" ]
CMD bash
COPY --link [ "Dockerfile", "/Dockerfile.ocaml" ]
2024-10-31 07:16.43: Using cache hint "5.3.0-amd64-ocurrent/opam-staging@sha256:00121edf732bf196ca99bb22731244b771533894bd2596cb13e9f2066c2b1c53"
2024-10-31 07:16.43: Waiting for resource in pool OCluster
2024-10-31 07:16.43: Waiting for worker…
2024-10-31 07:54.06: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
#1 [internal] load build definition from Dockerfile
#1 sha256:feb486b559706caef02a429c1463919ae05c347d6848f3b643431ba70574db5d
#1 transferring dockerfile: 753B done
#1 DONE 0.0s
#2 [internal] load .dockerignore
#2 sha256:8b6e1bafc73142b88c57ff4a7491181d9df01d890a2866d236dcd637eb67cf3c
#2 transferring context: 2B done
#2 DONE 0.1s
#3 resolve image config for docker.io/docker/dockerfile:1
#3 sha256:ac072d521901222eeef550f52282877f196e16b0247844be9ceb1ccc1eac391d
#3 DONE 0.6s
#4 docker-image://docker.io/docker/dockerfile:1@sha256:865e5dd094beca432e8c0a1d5e1c465db5f998dca4e439981029b3b81fb39ed5
#4 sha256:24fde5e954f72b7d1f316aa1ba3f1b8d56c40e1998a504163b9b6f3c495f8524
#4 CACHED
#5 [internal] load build definition from Dockerfile
#5 sha256:4c5714d1677b24eac995ee631a3ffab546fe5fdd9311af3f42938ab917d6f584
#5 DONE 0.0s
#6 [internal] load metadata for docker.io/ocurrent/opam-staging@sha256:00121edf732bf196ca99bb22731244b771533894bd2596cb13e9f2066c2b1c53
#6 sha256:e19bcdc6e11261b2a7d9c0271239d39bd1c83f5ec064fa7ee4f8e0b236ef720e
#6 DONE 0.5s
#7 [internal] load .dockerignore
#7 sha256:96cb3e65b47ca78076ad47d7e283038f8950977f4823d6ccd6ec2ffe3b750c8e
#7 DONE 0.0s
#8 [1/9] FROM docker.io/ocurrent/opam-staging@sha256:00121edf732bf196ca99bb22731244b771533894bd2596cb13e9f2066c2b1c53
#8 sha256:546dfb96af04df355b5917d0a835b493bbda98ccb62c53ba3cce7dc0f5fcc615
#8 CACHED
#16 [internal] load build context
#16 sha256:6bdb8a898bbf59bb780cb43077298fe3c7712aa05538d85ae6c63e494cc01a7a
#16 transferring context: 753B done
#16 DONE 0.1s
#9 [2/9] RUN opam repo add beta git+https://github.com/ocaml/ocaml-beta-repository --set-default
#9 sha256:f3fb78a3b71cecf3ef82ff9f62a1c75764514175d78009b8d7ccc4b0f2e74342
#9 1.485 [beta] Initialised
#9 DONE 1.8s
#10 [3/9] RUN apt-get -y update
#10 sha256:c4248b9f1bf76f2ba44fdf20946038694fd8ceda553651cc74648b54f234f3fb
#10 0.442 Hit:1 http://deb.debian.org/debian bookworm InRelease
#10 0.442 Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
#10 0.442 Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
#10 0.661 Reading package lists...
#10 DONE 1.4s
#11 [4/9] RUN DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
#11 sha256:e2941418c3d24589a21c24257e5ad51c98b7c9afce6c3bc1c6d55ee7d50b08a1
#11 0.449 Reading package lists...
#11 1.450 Building dependency tree...
#11 1.602 Reading state information...
#11 1.628 Calculating upgrade...
#11 1.804 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
#11 DONE 1.9s
#12 [5/9] RUN DEBIAN_FRONTEND=noninteractive apt-get -y install libzstd-dev
#12 sha256:c7b01b7b015385dd3857a0872b840213e539dd3281703d7139e31f24076fe6f6
#12 0.421 Reading package lists...
#12 1.029 Building dependency tree...
#12 1.133 Reading state information...
#12 1.293 The following NEW packages will be installed:
#12 1.293 libzstd-dev
#12 1.312 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
#12 1.312 Need to get 354 kB of archives.
#12 1.312 After this operation, 1253 kB of additional disk space will be used.
#12 1.312 Get:1 http://deb.debian.org/debian bookworm/main amd64 libzstd-dev amd64 1.5.4+dfsg2-5 [354 kB]
#12 1.499 debconf: delaying package configuration, since apt-utils is not installed
#12 1.529 Fetched 354 kB in 0s (14.1 MB/s)
#12 1.553 Selecting previously unselected package libzstd-dev:amd64.
#12 1.553 (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 ... 18745 files and directories currently installed.)
#12 1.569 Preparing to unpack .../libzstd-dev_1.5.4+dfsg2-5_amd64.deb ...
#12 1.574 Unpacking libzstd-dev:amd64 (1.5.4+dfsg2-5) ...
#12 1.660 Setting up libzstd-dev:amd64 (1.5.4+dfsg2-5) ...
#12 DONE 1.8s
#13 [6/9] RUN opam switch create 5.3 --packages=ocaml-variants.5.3.0+trunk
#13 sha256:b011c54fe999f1ea46ad65b77d180d350f5237ed2d38c66d4336007ce501cd81
#13 18.08
#13 18.08 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 18.17 [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
#13 18.26 [ocaml-config.3/ocaml-config.install] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-config/ocaml-config.install
#13 19.53 [ocaml-compiler.5.3] downloaded from https://github.com/ocaml/ocaml/archive/5.3.tar.gz
#13 20.44
#13 20.44 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#13 20.44 -> installed base-bigarray.base
#13 20.45 -> installed base-threads.base
#13 20.45 -> installed base-unix.base
#13 20.47 -> installed host-arch-x86_64.1
#13 20.47 -> installed host-system-other.1
#13 20.48 -> installed ocaml-beta.enabled
#13 289.2 -> installed ocaml-compiler.5.3
#13 289.3 -> installed ocaml-variants.5.3.0+trunk
#13 289.5 -> installed ocaml-config.3
#13 290.2 -> installed ocaml.5.3.0
#13 290.4 -> installed base-domains.base
#13 290.5 -> installed base-effects.base
#13 290.7 -> installed base-nnp.base
#13 291.8 Done.
#13 291.8 # Run eval $(opam env) to update the current shell environment
#13 DONE 293.6s
#14 [7/9] RUN opam pin add -k version ocaml-variants 5.3.0+trunk
#14 sha256:aec74e240066fc2549fa30ae64ccf83d4fbd7be1486ff8843aa73a35d70479f5
#14 1.454 ocaml-variants is now pinned to version 5.3.0+trunk
#14 1.454
#14 10.26 No package build needed.
#14 10.26 Nothing to do.
#14 10.26 # Run eval $(opam env) to update the current shell environment
#14 DONE 11.1s
#15 [8/9] RUN opam install -y opam-depext
#15 sha256:8046a31b8929026a06fcec60d11cae509aff2b88394e097275789ef91ea48ae9
#15 11.00 The following actions will be performed:
#15 11.00 - install opam-depext 1.2.3
#15 11.01
#15 11.01 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#15 11.60 [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
#15 11.63
#15 11.63 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#15 13.44 -> installed opam-depext.1.2.3
#15 13.46 Done.
#15 13.46 # Run eval $(opam env) to update the current shell environment
#15 DONE 14.1s
#17 [9/9] COPY --link [ Dockerfile, /Dockerfile.ocaml ]
#17 sha256:9a16122b7cfaba17babdf0f3b6603b6146a8610d28c6d23103fecfb8ac22d778
#17 DONE 0.1s
#18 exporting to image
#18 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#18 exporting layers
#18 exporting layers 2.6s done
#18 writing image sha256:9a0610a6828177171b6b1e415291389dddc2b61ab0ded8253238a36b14d99ed3 done
#18 DONE 2.6s
Pushing "sha256:8216b98e5996c80b42db296528f295c12c44564aa59b3fc161a33582373a7f00" to "ocurrent/opam-staging:debian-12-ocaml-5.3-amd64" as user "ocurrentbuilder"
Login Succeeded
The push refers to repository [docker.io/ocurrent/opam-staging]
a93c9e62304b: Preparing
a93c9e62304b: Pushed
debian-12-ocaml-5.3-amd64: digest: sha256:a7c0a08ebb4d1602d63eaccb10e90360711cf367f8b9e85422f305b854895fc5 size: 531
The push refers to repository [docker.io/ocurrent/opam-staging]
a93c9e62304b: Preparing
a93c9e62304b: Layer already exists
debian-12-ocaml-5.3-amd64: digest: sha256:a7c0a08ebb4d1602d63eaccb10e90360711cf367f8b9e85422f305b854895fc5 size: 531
Job succeeded
2024-10-31 08:23.13: Job succeeded