Build:
- 0
2024-11-07 23:35.51: New job: Build Dockerfile using linux-x86_64 in
[https://github.com/ocaml-dune/binary-distribution.git#refs/heads/main (345501334e633479de46c0884b47d2ef36542a9f)]
2024-11-07 23:35.51: Will push staging image to ocurrentbuilder/staging:live-ocurrent-dune-binary-distribution-linux-x86_64
2024-11-07 23:35.51: Using cache hint "https://github.com/ocaml-dune/binary-distribution.git-Dockerfile"
2024-11-07 23:35.51: Waiting for resource in pool OCluster
2024-11-07 23:35.51: Waiting for worker…
2024-11-07 23:35.51: Got resource from pool OCluster
Building on x86-bm-c16.sw.ocaml.org
All commits already cached
HEAD is now at 3455013 Install ocamllsp wrapper in install script (#121)
Sending build context to Docker daemon 427kB
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:48dc56fcc86081a6a32357abb5105e2c85304ed49b11eba1d1843aac16e6d4c1
Status: Image is up to date for ocaml/opam:alpine-3.20-ocaml-5.2
---> 9820d67b9c62
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
---> 8cad329b95a3
Step 3/15 : WORKDIR /home/opam
---> Using cache
---> c2b3f6f4022a
Step 4/15 : COPY sandworm.opam sandworm.opam
---> Using cache
---> b1ace6726742
Step 5/15 : RUN opam install . --deps-only -y
---> Using cache
---> 4c84ed586466
Step 6/15 : COPY --chown=opam:opam . .
---> 81115ea64ed9
Step 7/15 : RUN opam exec -- dune build --release
---> Running in fcd1f12a4f90
(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 537ms.
Removing intermediate container fcd1f12a4f90
---> 05bfdcd57498
Step 8/15 : FROM alpine:3.20 AS run
3.20: Pulling from library/alpine
Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d
Status: Image is up to date for alpine:3.20
---> 91ef0af61f39
Step 9/15 : RUN apk update && apk add --update libev gmp git
---> Using cache
---> a58870ac5135
Step 10/15 : WORKDIR /app
---> Using cache
---> d1a42d616a3b
Step 11/15 : COPY --from=build /home/opam/static static
---> c59aa22d1403
Step 12/15 : COPY --from=build /home/opam/metadata.json ./metadata.json
---> 4973e2ee2981
Step 13/15 : COPY --from=build /home/opam/_build/install/default/bin/sandworm /bin/sandworm
---> 8e39960a78fe
Step 14/15 : EXPOSE 80
---> Running in dd1d19c7c57f
Removing intermediate container dd1d19c7c57f
---> ffe979aa77b9
Step 15/15 : CMD [ "sandworm", "serve", "--port", "80"]
---> Running in 13132849b759
Removing intermediate container 13132849b759
---> 9e853f7e19b4
Successfully built 9e853f7e19b4
Pushing "sha256:9e853f7e19b451866602c92a65daa3ac1cefa9c906e5a8dabb3e902d3e4b2c1a" 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]
884d8c170acd: Preparing
467c3e0b3f1d: Preparing
d02f4e44146f: Preparing
560c7541efe5: Preparing
ac7e6c64af9e: Preparing
63ca1fbb43ae: Preparing
63ca1fbb43ae: Waiting
560c7541efe5: Layer already exists
ac7e6c64af9e: Layer already exists
63ca1fbb43ae: Layer already exists
467c3e0b3f1d: Pushed
d02f4e44146f: Pushed
884d8c170acd: Pushed
live-ocurrent-dune-binary-distribution-linux-x86_64: digest: sha256:eaf34394515109328aea78d3a7f869e97803ab430c9779f0d402988c85055c06 size: 1574
The push refers to repository [docker.io/ocurrentbuilder/staging]
884d8c170acd: Preparing
467c3e0b3f1d: Preparing
d02f4e44146f: Preparing
560c7541efe5: Preparing
ac7e6c64af9e: Preparing
63ca1fbb43ae: Preparing
63ca1fbb43ae: Waiting
884d8c170acd: Layer already exists
ac7e6c64af9e: Layer already exists
467c3e0b3f1d: Layer already exists
560c7541efe5: Layer already exists
d02f4e44146f: Layer already exists
63ca1fbb43ae: Layer already exists
live-ocurrent-dune-binary-distribution-linux-x86_64: digest: sha256:eaf34394515109328aea78d3a7f869e97803ab430c9779f0d402988c85055c06 size: 1574
Job succeeded
2024-11-07 23:37.06: Job succeeded