Merge remote-tracking branch 'upstream/master'
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Edge / Build Docker (map[os:ubuntu-24.04-arm platform:linux/arm64]) (push) Has been cancelled
Edge / Build Docker (map[os:ubuntu-latest platform:linux/amd64]) (push) Has been cancelled
Lint / Check Docs (push) Has been cancelled
Edge / Merge & Deploy Docker (push) Has been cancelled
Edge / Build & Deploy Docs (push) Has been cancelled
Lint / Lint (format:check) (push) Has been cancelled
Lint / Lint (lint) (push) Has been cancelled
Lint / Lint (typecheck) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Edge / Build Docker (map[os:ubuntu-24.04-arm platform:linux/arm64]) (push) Has been cancelled
Edge / Build Docker (map[os:ubuntu-latest platform:linux/amd64]) (push) Has been cancelled
Lint / Check Docs (push) Has been cancelled
Edge / Merge & Deploy Docker (push) Has been cancelled
Edge / Build & Deploy Docs (push) Has been cancelled
Lint / Lint (format:check) (push) Has been cancelled
Lint / Lint (lint) (push) Has been cancelled
Lint / Lint (typecheck) (push) Has been cancelled
This commit is contained in:
+4
-2
@@ -21,7 +21,8 @@ RUN apk add linux-headers build-base go git && \
|
|||||||
cd amneziawg-go && \
|
cd amneziawg-go && \
|
||||||
make && \
|
make && \
|
||||||
cd ../amneziawg-tools/src && \
|
cd ../amneziawg-tools/src && \
|
||||||
make
|
make && \
|
||||||
|
sed -i 's|\[\[ $proto == -4 \]\] && cmd sysctl -q net\.ipv4\.conf\.all\.src_valid_mark=1|[[ $proto == -4 ]] \&\& [[ $(sysctl -n net.ipv4.conf.all.src_valid_mark) != 1 ]] \&\& cmd sysctl -q net.ipv4.conf.all.src_valid_mark=1|' ./wg-quick/linux.bash
|
||||||
|
|
||||||
FROM docker.io/library/node:krypton-alpine AS build-libsql
|
FROM docker.io/library/node:krypton-alpine AS build-libsql
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@@ -62,7 +63,8 @@ RUN apk add --no-cache \
|
|||||||
kmod \
|
kmod \
|
||||||
iptables-legacy \
|
iptables-legacy \
|
||||||
wireguard-go \
|
wireguard-go \
|
||||||
wireguard-tools
|
wireguard-tools && \
|
||||||
|
sed -i 's|\[\[ $proto == -4 \]\] && cmd sysctl -q net\.ipv4\.conf\.all\.src_valid_mark=1|[[ $proto == -4 ]] \&\& [[ $(sysctl -n net.ipv4.conf.all.src_valid_mark) != 1 ]] \&\& cmd sysctl -q net.ipv4.conf.all.src_valid_mark=1|' /usr/bin/wg-quick
|
||||||
|
|
||||||
RUN mkdir -p /etc/amnezia
|
RUN mkdir -p /etc/amnezia
|
||||||
RUN ln -s /etc/wireguard /etc/amnezia/amneziawg
|
RUN ln -s /etc/wireguard /etc/amnezia/amneziawg
|
||||||
|
|||||||
Reference in New Issue
Block a user