mirror of
https://github.com/flant/ovpn-admin.git
synced 2026-02-04 01:10:22 -08:00
Compare commits
7 Commits
28535e236f
...
ff3a08d983
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff3a08d983 | ||
|
|
91dfa75ccd | ||
|
|
3d558566ea | ||
|
|
a591f3bec3 | ||
|
|
36b6964f8c | ||
|
|
2fc8f729b9 | ||
|
|
f5fc3e988f |
@ -2,7 +2,7 @@ FROM node:19-alpine3.15 AS frontend-builder
|
||||
COPY ../frontend /app
|
||||
RUN apk add --update python3 make g++ && cd /app && npm install && npm run build
|
||||
|
||||
FROM golang:1.24.1-bullseye AS backend-builder
|
||||
FROM golang:1.24.2-bullseye AS backend-builder
|
||||
RUN go install github.com/gobuffalo/packr/v2/packr2@latest
|
||||
COPY --from=frontend-builder /app/static /app/frontend/static
|
||||
COPY .. /app
|
||||
|
||||
@ -21,10 +21,10 @@ else
|
||||
done
|
||||
else
|
||||
echo "Generating new certs"
|
||||
easyrsa init-pki
|
||||
easyrsa --batch init-pki
|
||||
cp -R /usr/share/easy-rsa/* $EASY_RSA_LOC/pki
|
||||
echo "ca" | easyrsa build-ca nopass
|
||||
easyrsa build-server-full server nopass
|
||||
easyrsa --batch build-server-full server nopass
|
||||
easyrsa gen-dh
|
||||
openvpn --genkey --secret ./pki/ta.key
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user