fix(#18): amneziawg-tools/src собирает бинарь wg — копируем его как awg (+awg-quick)

This commit is contained in:
2026-10-21 23:42:43 +03:00
parent ec44dcca4e
commit 789c1854fe
+3 -1
View File
@@ -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 && 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 \ 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 ------------------------------------------------------- # --- stage 2: runtime -------------------------------------------------------
FROM alpine:3.21 AS runtime FROM alpine:3.21 AS runtime