mirror of
https://github.com/MikeWang000000/Natter.git
synced 2025-12-24 11:51:05 +08:00
chore: Bump natter-docker dependency version
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
ARG ARCH=amd64
|
||||
FROM --platform=linux/${ARCH} amd64/alpine:3.19
|
||||
FROM --platform=linux/${ARCH} amd64/alpine:3.22
|
||||
|
||||
COPY natter.py /opt/natter.py
|
||||
|
||||
RUN apk update \
|
||||
&& apk add ca-certificates curl gzip iptables iptables-legacy jq nftables python3 socat wget \
|
||||
&& ln -sf iptables-legacy /sbin/iptables \
|
||||
&& curl -L 'https://github.com/ginuerzh/gost/releases/download/v2.11.5/gost-linux-amd64-2.11.5.gz' | gunzip > /usr/bin/gost \
|
||||
&& curl -fL 'https://github.com/go-gost/gost/releases/download/v3.2.4/gost_3.2.4_linux_amd64.tar.gz' | tar -xzO gost > /usr/bin/gost \
|
||||
&& chmod a+x /usr/bin/gost \
|
||||
&& chmod a+x /opt/natter.py
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
ARG ARCH=arm64
|
||||
FROM --platform=linux/${ARCH} arm64v8/alpine:3.19
|
||||
FROM --platform=linux/${ARCH} arm64v8/alpine:3.22
|
||||
|
||||
COPY natter.py /opt/natter.py
|
||||
|
||||
RUN apk update \
|
||||
&& apk add ca-certificates curl gzip iptables iptables-legacy jq nftables python3 socat wget \
|
||||
&& ln -sf iptables-legacy /sbin/iptables \
|
||||
&& curl -L 'https://github.com/ginuerzh/gost/releases/download/v2.11.5/gost-linux-armv8-2.11.5.gz' | gunzip > /usr/bin/gost \
|
||||
&& curl -fL 'https://github.com/go-gost/gost/releases/download/v3.2.4/gost_3.2.4_linux_arm64.tar.gz' | tar -xzO gost > /usr/bin/gost \
|
||||
&& chmod a+x /usr/bin/gost \
|
||||
&& chmod a+x /opt/natter.py
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
ARG ARCH=amd64
|
||||
FROM --platform=linux/${ARCH} amd64/debian:12
|
||||
FROM --platform=linux/${ARCH} amd64/debian:13
|
||||
|
||||
COPY natter.py /opt/natter.py
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates curl gzip iptables jq nftables python3 socat wget \
|
||||
&& update-alternatives --set iptables /usr/sbin/iptables-legacy \
|
||||
&& curl -L 'https://github.com/ginuerzh/gost/releases/download/v2.11.5/gost-linux-amd64-2.11.5.gz' | gunzip > /usr/bin/gost \
|
||||
&& curl -fL 'https://github.com/go-gost/gost/releases/download/v3.2.4/gost_3.2.4_linux_amd64.tar.gz' | tar -xzO gost > /usr/bin/gost \
|
||||
&& chmod a+x /usr/bin/gost \
|
||||
&& chmod a+x /opt/natter.py
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
ARG ARCH=arm64
|
||||
FROM --platform=linux/${ARCH} arm64v8/debian:12
|
||||
FROM --platform=linux/${ARCH} arm64v8/debian:13
|
||||
|
||||
COPY natter.py /opt/natter.py
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates curl gzip iptables jq nftables python3 socat wget \
|
||||
&& update-alternatives --set iptables /usr/sbin/iptables-legacy \
|
||||
&& curl -L 'https://github.com/ginuerzh/gost/releases/download/v2.11.5/gost-linux-armv8-2.11.5.gz' | gunzip > /usr/bin/gost \
|
||||
&& curl -fL 'https://github.com/go-gost/gost/releases/download/v3.2.4/gost_3.2.4_linux_arm64.tar.gz' | tar -xzO gost > /usr/bin/gost \
|
||||
&& chmod a+x /usr/bin/gost \
|
||||
&& chmod a+x /opt/natter.py
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
ARG ARCH=amd64
|
||||
FROM --platform=linux/${ARCH} openwrt/rootfs:x86-64-23.05.2 AS builder
|
||||
FROM --platform=linux/${ARCH} openwrt/rootfs:x86-64-24.10.2 AS builder
|
||||
|
||||
COPY natter.py /opt/natter.py
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
ARG ARCH=aarch64_generic
|
||||
FROM --platform=linux/${ARCH} openwrt/rootfs:aarch64_generic-23.05.2 AS builder
|
||||
FROM --platform=linux/${ARCH} openwrt/rootfs:aarch64_generic-24.10.2 AS builder
|
||||
|
||||
COPY natter.py /opt/natter.py
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
ARG ARCH=amd64
|
||||
FROM --platform=linux/${ARCH} openwrt/rootfs:x86-64-23.05.2 AS builder
|
||||
FROM --platform=linux/${ARCH} openwrt/rootfs:x86-64-24.10.2 AS builder
|
||||
|
||||
COPY natter.py /opt/natter.py
|
||||
|
||||
@@ -7,7 +7,7 @@ RUN mkdir -p /var/lock/ /var/run/ \
|
||||
&& opkg update \
|
||||
&& opkg install ca-certificates curl gzip iptables-legacy jq nftables python3 socat wget \
|
||||
&& opkg remove 'kmod-*' --force-depends \
|
||||
&& curl -L 'https://github.com/ginuerzh/gost/releases/download/v2.11.5/gost-linux-amd64-2.11.5.gz' | gunzip > /usr/bin/gost \
|
||||
&& curl -fL 'https://github.com/go-gost/gost/releases/download/v3.2.4/gost_3.2.4_linux_amd64.tar.gz' | tar -xzO gost > /usr/bin/gost \
|
||||
&& chmod a+x /usr/bin/gost \
|
||||
&& chmod a+x /opt/natter.py
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
ARG ARCH=aarch64_generic
|
||||
FROM --platform=linux/${ARCH} openwrt/rootfs:aarch64_generic-23.05.2 AS builder
|
||||
FROM --platform=linux/${ARCH} openwrt/rootfs:aarch64_generic-24.10.2 AS builder
|
||||
|
||||
COPY natter.py /opt/natter.py
|
||||
|
||||
@@ -7,7 +7,7 @@ RUN mkdir -p /var/lock/ /var/run/ \
|
||||
&& opkg update \
|
||||
&& opkg install ca-certificates curl gzip iptables-legacy jq nftables python3 socat wget \
|
||||
&& opkg remove 'kmod-*' --force-depends \
|
||||
&& curl -L 'https://github.com/ginuerzh/gost/releases/download/v2.11.5/gost-linux-armv8-2.11.5.gz' | gunzip > /usr/bin/gost \
|
||||
&& curl -fL 'https://github.com/go-gost/gost/releases/download/v3.2.4/gost_3.2.4_linux_arm64.tar.gz' | tar -xzO gost > /usr/bin/gost \
|
||||
&& chmod a+x /usr/bin/gost \
|
||||
&& chmod a+x /opt/natter.py
|
||||
|
||||
|
||||
Reference in New Issue
Block a user