1
0
Fork 0
mirror of synced 2024-06-16 06:11:09 -04:00

Update alpine version

This commit is contained in:
Zhbert 2024-05-02 16:34:15 +03:00
parent 0c881c81e7
commit 5dd44dad7f
No known key found for this signature in database
GPG key ID: ECA5FA8F25051A6A
2 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ COPY . /app
ARG TARGETARCH
RUN cd /app && packr2 && env CGO_ENABLED=1 GOOS=linux GOARCH=${TARGETARCH} go build -a -tags netgo -ldflags '-linkmode external -extldflags -static -s -w' -o ovpn-admin && packr2 clean
FROM alpine:3.16
FROM alpine:3.19
WORKDIR /app
COPY --from=backend-builder /app/ovpn-admin /app
ARG TARGETARCH

View file

@ -1,4 +1,4 @@
FROM alpine:3.16
FROM alpine:3.19
ARG TARGETARCH
RUN apk add --update bash openvpn easy-rsa iptables && \
ln -s /usr/share/easy-rsa/easyrsa /usr/local/bin && \