diff --git a/Dockerfile b/Dockerfile index 4bdf161..3fd3b03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM golang:1.22-alpine3.19 as builder +FROM golang:1.22-alpine3.20 as builder -ARG XRAY_VER='v1.8.10' +ARG XRAY_VER='v1.8.23' ARG QREC_VER='4.1.1' RUN apk add --no-cache bash git build-base wget @@ -26,7 +26,7 @@ RUN git clone https://github.com/XTLS/Xray-core.git . && \ go build -o xray -trimpath -ldflags "-s -w -buildid=" ./main -FROM alpine:3.19 +FROM alpine:3.20 COPY --from=builder /go/src/XTLS/Xray-core/xray /usr/local/bin/ COPY --from=builder /tmp/geosite.dat /usr/local/bin/ diff --git a/README.md b/README.md index 5883e38..b6c3158 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ $ docker build -t samuelhbne/proxy-xray . ### Cross-compile docker image for the platforms with different architecture -Please refer the [official doc](https://docs.docker.com/engine/reference/commandline/buildx_install/) for docker-buildx installation +Please refer the [official doc](https://github.com/docker/buildx) for docker-buildx installation ```shell docker buildx build --platform=linux/arm/v7 --output type=docker -t samuelhbne/proxy-xray:armv7 .