Using golang v1.21 and xray-core 1.8.4 (#518)

* upgrade go to v1.21

* Update Dockerfile
This commit is contained in:
Ho3ein
2023-08-30 21:50:27 +03:30
committed by GitHub
parent 31be70b333
commit edb6c0e638
4 changed files with 88 additions and 77 deletions

View File

@@ -1,4 +1,4 @@
FROM golang:1.20-alpine AS builder
FROM golang:1.21-alpine AS builder
WORKDIR /app
ARG TARGETARCH
RUN apk --no-cache --update add build-base gcc wget unzip
@@ -15,4 +15,4 @@ RUN apk add ca-certificates tzdata
COPY --from=builder /app/build/ /app/
VOLUME [ "/etc/x-ui" ]
CMD [ "./x-ui" ]
CMD [ "./x-ui" ]