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: 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
HEAD is now at 9414001 Nightly build 2024-11-20
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 . .
---> 20aecf0c0539
Step 7/15 : RUN opam exec -- dune build --release
---> Running in 6e7407966d53
(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 6e7407966d53
---> aa9e7fecc149
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
---> 810a340308dc
Step 13/15 : COPY --from=build /home/opam/_build/install/default/bin/sandworm /bin/sandworm
---> afa18d952b4a
Step 14/15 : EXPOSE 80
---> Running in c75a824c620c
Removing intermediate container c75a824c620c
---> 6859ac98a026
Step 15/15 : CMD [ "sandworm", "serve", "--port", "80"]
---> Running in 80029c0ad924
Removing intermediate container 80029c0ad924
---> f5974d63e00d
Successfully built f5974d63e00d
Job succeeded
2024-11-21 02:39.27: Job succeeded