Skip to content

Commit 5d01a4b

Browse files
committed
Dockerfile: update to Alpine 3.21 and opam 2.3
1 parent e40094e commit 5d01a4b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM ocaml/opam:alpine-3.19-ocaml-5.2 AS build
1+
FROM ocaml/opam:alpine-3.21-ocaml-5.2 AS build
2+
RUN sudo ln -sf /usr/bin/opam-2.3 /usr/bin/opam && opam init --reinit -ni
23

34
# Install system dependencies
45
RUN sudo apk -U upgrade --no-cache && sudo apk add --no-cache \
@@ -29,7 +30,8 @@ ENV OCAMLORG_PKG_STATE_PATH=package.state \
2930
OCAMLORG_REPO_PATH=opam-repository
3031
RUN touch package.state && ./init-cache package.state
3132

32-
FROM alpine:3.19
33+
34+
FROM alpine:3.21
3335

3436
RUN apk -U upgrade --no-cache && apk add --no-cache \
3537
git \

0 commit comments

Comments
 (0)