mirror of
https://github.com/samuelhbne/proxy-xray.git
synced 2025-12-17 04:34:37 +03:00
Bump to Xray-core v1.8.23, alpine-3.20
This commit is contained in:
@@ -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'
|
ARG QREC_VER='4.1.1'
|
||||||
|
|
||||||
RUN apk add --no-cache bash git build-base wget
|
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
|
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 /go/src/XTLS/Xray-core/xray /usr/local/bin/
|
||||||
COPY --from=builder /tmp/geosite.dat /usr/local/bin/
|
COPY --from=builder /tmp/geosite.dat /usr/local/bin/
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ $ docker build -t samuelhbne/proxy-xray .
|
|||||||
|
|
||||||
### Cross-compile docker image for the platforms with different architecture
|
### 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
|
```shell
|
||||||
docker buildx build --platform=linux/arm/v7 --output type=docker -t samuelhbne/proxy-xray:armv7 .
|
docker buildx build --platform=linux/arm/v7 --output type=docker -t samuelhbne/proxy-xray:armv7 .
|
||||||
|
|||||||
Reference in New Issue
Block a user