Build:
- 0
2024-11-08 05:38.48: New job: Build Dockerfile using linux-x86_64 in
[https://github.com/ocaml-dune/binary-distribution.git#refs/heads/tool-wrapper-install-fix (8e3c6e62d9d386ffee28aa6b5d259bdd884813b2)]
2024-11-08 05:38.48: Using cache hint "https://github.com/ocaml-dune/binary-distribution.git-Dockerfile"
2024-11-08 05:38.48: Waiting for resource in pool OCluster
2024-11-08 05:38.48: Waiting for worker…
2024-11-08 05:38.48: Got resource from pool OCluster
Building on x86-bm-c16.sw.ocaml.org
HEAD is now at ec524e1 Nightly build 2024-11-08
HEAD is now at 8e3c6e6 Fix installation of tool wrappers
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 . .
---> 9e1e086a09d6
Step 7/15 : RUN opam exec -- dune build --release
---> Running in d7e9c5237c4e
(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 519ms.
Removing intermediate container d7e9c5237c4e
---> 091d54684cc1
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
---> 25cf59db17d5
Step 12/15 : COPY --from=build /home/opam/metadata.json ./metadata.json
---> 1ea593810b73
Step 13/15 : COPY --from=build /home/opam/_build/install/default/bin/sandworm /bin/sandworm
---> d564006681c7
Step 14/15 : EXPOSE 80
---> Running in da863cc4cef5
Removing intermediate container da863cc4cef5
---> 8613233b536c
Step 15/15 : CMD [ "sandworm", "serve", "--port", "80"]
---> Running in ea2046015a42
Removing intermediate container ea2046015a42
---> 32b9bd83beb5
Successfully built 32b9bd83beb5
Job succeeded
2024-11-08 05:39.47: Job succeeded