Skip to content

Commit d5a1a69

Browse files
committed
Update to Alpine 3.21 and opam 2.3
1 parent 2653b5c commit d5a1a69

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM ocaml/opam:alpine-3.20-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 apk -U upgrade --no-cache && apk add --no-cache \
@@ -30,7 +31,7 @@ ENV OCAMLORG_PKG_STATE_PATH=package.state \
3031
RUN touch package.state && ./init-cache package.state
3132

3233

33-
FROM alpine:3.20
34+
FROM alpine:3.21
3435

3536
RUN apk -U upgrade --no-cache && apk add --no-cache \
3637
git \

0 commit comments

Comments
 (0)