mirror of
https://github.com/samuelhbne/proxy-xray.git
synced 2025-12-16 20:27:06 +03:00
Bump to Xray-core v25.4.30
This commit is contained in:
18
Dockerfile
18
Dockerfile
@@ -1,6 +1,6 @@
|
||||
FROM golang:1.24-alpine3.20 AS builder
|
||||
|
||||
ARG XRAY_VER='v25.3.6'
|
||||
ARG XRAY_VER='v25.4.30'
|
||||
ARG QREC_VER='4.1.1'
|
||||
|
||||
RUN apk add --no-cache bash git build-base curl
|
||||
@@ -18,15 +18,6 @@ RUN curl -sSLO https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/
|
||||
RUN curl -sSLO https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/bogus-nxdomain.china.conf
|
||||
RUN curl -sSLO https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/accelerated-domains.china.conf
|
||||
|
||||
WORKDIR /tmp
|
||||
RUN curl -sSLO https://fukuchi.org/works/qrencode/qrencode-${QREC_VER}.tar.gz && \
|
||||
tar xvf qrencode-${QREC_VER}.tar.gz
|
||||
WORKDIR /tmp/qrencode-${QREC_VER}
|
||||
RUN ./configure --without-png && make install
|
||||
|
||||
WORKDIR /usr/local
|
||||
RUN tar zcvf /tmp/qrencode.tar.gz bin lib share
|
||||
|
||||
|
||||
FROM alpine:3.20
|
||||
|
||||
@@ -41,13 +32,8 @@ COPY --from=builder /go/src/XTLS/Xray-core/google.china.conf /etc
|
||||
COPY --from=builder /go/src/XTLS/Xray-core/bogus-nxdomain.china.conf /etc/dnsmasq.disable/
|
||||
COPY --from=builder /go/src/XTLS/Xray-core/accelerated-domains.china.conf /etc/dnsmasq.disable/
|
||||
|
||||
COPY --from=builder /tmp/qrencode.tar.gz /tmp/
|
||||
WORKDIR /usr/local
|
||||
RUN tar xvf /tmp/qrencode.tar.gz
|
||||
RUN rm /tmp/qrencode.tar.gz
|
||||
|
||||
RUN apk --no-cache add bash openssl curl jq moreutils \
|
||||
whois dnsmasq ca-certificates proxychains-ng
|
||||
whois dnsmasq ca-certificates proxychains-ng libqrencode-tools
|
||||
|
||||
RUN sed -i "s/^socks4.*/socks5\t127.0.0.1 1080/g" /etc/proxychains/proxychains.conf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user