Merge 5dd44dad7f208f4e4035daacae33ff2bde7d70dc into 0680b4ff05a4e7b385416f3d87b5e0d234de8e7c

This commit is contained in:
Konstantin Nezhbert 2025-01-17 18:12:07 +02:00 committed by GitHub
commit 0ffb58cfe9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 && \