Build:
- 0
2024-11-21 02:38.26: New job: Build Dockerfile using linux-x86_64 in
[https://github.com/ocaml-dune/binary-distribution.git#refs/heads/main (91859ac467380b7f0f1e5bd1d48f4fde0fb78238)]
2024-11-21 02:38.26: Will push staging image to ocurrentbuilder/staging:live-ocurrent-dune-binary-distribution-linux-x86_64
2024-11-21 02:38.26: Using cache hint "https://github.com/ocaml-dune/binary-distribution.git-Dockerfile"
2024-11-21 02:38.26: Waiting for resource in pool OCluster
2024-11-21 02:38.26: Waiting for worker…
2024-11-21 02:38.26: Got resource from pool OCluster
Building on x86-bm-c16.sw.ocaml.org
All commits already cached
HEAD is now at 91859ac Nightly build 2024-11-21
Sending build context to Docker daemon 432.6kB
Step 1/15 : FROM ocaml/opam:alpine-3.20-ocaml-5.2 AS build
alpine-3.20-ocaml-5.2: Pulling from ocaml/opam
Digest: sha256:adfa0ae4a604e51657371ffc959ac0b8178465013853c2ef3e346d4dea760327
Status: Image is up to date for ocaml/opam:alpine-3.20-ocaml-5.2
---> 60b3dac4259b
Step 2/15 : RUN sudo apk update && sudo apk add curl git curl-dev libev-dev openssl-dev gmp-dev && sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam && opam init --reinit -ni && opam update -y
---> Using cache
---> c72e32014966
Step 3/15 : WORKDIR /home/opam
---> Using cache
---> c672db6b79c1
Step 4/15 : COPY sandworm.opam sandworm.opam
---> Using cache
---> b19a322d6f9e
Step 5/15 : RUN opam install . --deps-only -y
---> Using cache
---> 23cc2f4c0d71
Step 6/15 : COPY --chown=opam:opam . .
---> 9fa59ad4d4d8
Step 7/15 : RUN opam exec -- dune build --release
---> Running in 67729fd29c89
(cd _build/default && /home/opam/.opam/5.2/bin/tailwindcss -c tailwind.config.js -i css/style.css -o css/main.css)
Rebuilding...
Done in 530ms.
Removing intermediate container 67729fd29c89
---> 0ee4231c4501
Step 8/15 : FROM alpine:3.20 AS run
3.20: Pulling from library/alpine
Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a
Status: Image is up to date for alpine:3.20
---> 63b790fccc90
Step 9/15 : RUN apk update && apk add --update libev gmp git
---> Using cache
---> 5808564c8345
Step 10/15 : WORKDIR /app
---> Using cache
---> c42120a09f52
Step 11/15 : COPY --from=build /home/opam/static static
---> Using cache
---> 4938af6027a8
Step 12/15 : COPY --from=build /home/opam/metadata.json ./metadata.json
---> Using cache
---> 810a340308dc
Step 13/15 : COPY --from=build /home/opam/_build/install/default/bin/sandworm /bin/sandworm
---> Using cache
---> afa18d952b4a
Step 14/15 : EXPOSE 80
---> Using cache
---> 6859ac98a026
Step 15/15 : CMD [ "sandworm", "serve", "--port", "80"]
---> Using cache
---> f5974d63e00d
Successfully built f5974d63e00d
Pushing "sha256:f5974d63e00d3785fbb36fd79b24b59ebcc5b101bc1ad04d2d1af5c9721357f4" to "ocurrentbuilder/staging:live-ocurrent-dune-binary-distribution-linux-x86_64" as user "ocurrentbuilder"
Login Succeeded
The push refers to repository [docker.io/ocurrentbuilder/staging]
ac4eda291a60: Preparing
d10fbd60c6c7: Preparing
cffd92ecd285: Preparing
cff089ac29ee: Preparing
8b512b211f33: Preparing
75654b8eeebd: Preparing
75654b8eeebd: Waiting
cffd92ecd285: Layer already exists
8b512b211f33: Layer already exists
cff089ac29ee: Layer already exists
75654b8eeebd: Layer already exists
d10fbd60c6c7: Pushed
ac4eda291a60: Pushed
live-ocurrent-dune-binary-distribution-linux-x86_64: digest: sha256:b28c909aa211e339f6b3e7d3903430e393b60f9ed8cf8c5244f5033271ef8235 size: 1574
The push refers to repository [docker.io/ocurrentbuilder/staging]
ac4eda291a60: Preparing
d10fbd60c6c7: Preparing
cffd92ecd285: Preparing
cff089ac29ee: Preparing
8b512b211f33: Preparing
75654b8eeebd: Preparing
75654b8eeebd: Waiting
cffd92ecd285: Layer already exists
d10fbd60c6c7: Layer already exists
ac4eda291a60: Layer already exists
8b512b211f33: Layer already exists
cff089ac29ee: Layer already exists
75654b8eeebd: Layer already exists
live-ocurrent-dune-binary-distribution-linux-x86_64: digest: sha256:b28c909aa211e339f6b3e7d3903430e393b60f9ed8cf8c5244f5033271ef8235 size: 1574
Job succeeded
2024-11-21 02:39.38: Job succeeded