Merge pull request #696 from wg-easy/iptables-fix
Version 9: Fix issue running on older kernels
This commit is contained in:
commit
a7347aec99
|
@ -0,0 +1,36 @@
|
||||||
|
name: Build & Publish Development
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
name: Build & Deploy
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
packages: write
|
||||||
|
contents: read
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: production
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
- name: Login to GitHub Container Registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Build & Publish Docker Image
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8
|
||||||
|
tags: ghcr.io/wg-easy/wg-easy:development
|
11
Dockerfile
11
Dockerfile
|
@ -21,9 +21,14 @@ RUN mv /app/node_modules /node_modules
|
||||||
|
|
||||||
# Install Linux packages
|
# Install Linux packages
|
||||||
RUN apk add -U --no-cache \
|
RUN apk add -U --no-cache \
|
||||||
iptables \
|
dpkg \
|
||||||
wireguard-tools \
|
dumb-init \
|
||||||
dumb-init
|
iptables \
|
||||||
|
iptables-legacy \
|
||||||
|
wireguard-tools
|
||||||
|
|
||||||
|
# Use iptables-legacy
|
||||||
|
RUN update-alternatives --install /sbin/iptables iptables /sbin/iptables-legacy 10 --slave /sbin/iptables-restore iptables-restore /sbin/iptables-legacy-restore --slave /sbin/iptables-save iptables-save /sbin/iptables-legacy-save
|
||||||
|
|
||||||
# Expose Ports
|
# Expose Ports
|
||||||
EXPOSE 51820/udp
|
EXPOSE 51820/udp
|
||||||
|
|
|
@ -6,5 +6,6 @@
|
||||||
"5": "Many small improvements & feature requests. Enjoy!",
|
"5": "Many small improvements & feature requests. Enjoy!",
|
||||||
"6": "Many small performance improvements & bug fixes. Enjoy!",
|
"6": "Many small performance improvements & bug fixes. Enjoy!",
|
||||||
"7": "Improved the look & performance of the upload/download chart.",
|
"7": "Improved the look & performance of the upload/download chart.",
|
||||||
"8": "Updated to Node.js v18."
|
"8": "Updated to Node.js v18.",
|
||||||
}
|
"9": "Fixed issue running on devices with older kernels."
|
||||||
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"release": 8,
|
"release": 9,
|
||||||
"name": "wg-easy",
|
"name": "wg-easy",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
|
@ -25,4 +25,4 @@
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "18"
|
"node": "18"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue