Sprint 0 / #18: multi-stage Dockerfile и супервизор entrypoint #49
+3
-1
@@ -23,7 +23,9 @@ RUN git clone --depth 1 --branch "${AMNEZIAWG_GO_REF}" "${AMNEZIAWG_GO_REPO}" am
|
||||
&& cd amneziawg-go && make && cp amneziawg-go /usr/local/bin/amneziawg-go
|
||||
|
||||
RUN git clone --depth 1 --branch "${AMNEZIAWG_TOOLS_REF}" "${AMNEZIAWG_TOOLS_REPO}" amneziawg-tools \
|
||||
&& cd amneziawg-tools/src && make && cp awg /usr/local/bin/awg
|
||||
&& cd amneziawg-tools/src && make \
|
||||
&& cp wg /usr/local/bin/awg \
|
||||
&& if [ -f wg-quick ]; then cp wg-quick /usr/local/bin/awg-quick; fi
|
||||
|
||||
# --- stage 2: runtime -------------------------------------------------------
|
||||
FROM alpine:3.21 AS runtime
|
||||
|
||||
Reference in New Issue
Block a user