Skip to content

Commit

Permalink
update base image version
Browse files Browse the repository at this point in the history
  • Loading branch information
enwaiax committed Oct 25, 2024
1 parent f3c29f8 commit a0d2573
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build_image/Dockerfile.alpha
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:latest AS builder
COPY get_xui_alpha.sh get_xui.sh
RUN bash get_xui.sh

FROM debian:11-slim
FROM debian:12-slim
LABEL org.opencontainers.image.authors="https://github.com/enwaiax"
COPY --from=builder /go/x-ui/x-ui /usr/local/bin/x-ui

Expand Down
2 changes: 1 addition & 1 deletion build_image/Dockerfile.alpha-zh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:latest AS builder
COPY get_xui_alpha_zh.sh get_xui.sh
RUN bash get_xui.sh

FROM debian:11-slim
FROM debian:12-slim
LABEL org.opencontainers.image.authors="https://github.com/enwaiax"
COPY --from=builder /go/x-ui/x-ui /usr/local/bin/x-ui

Expand Down
2 changes: 1 addition & 1 deletion build_image/Dockerfile.bullseye
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN git clone ${XUI_REPO} --depth=1
WORKDIR /go/x-ui
RUN go build -a -ldflags "-linkmode external -extldflags '-static' -s -w"

FROM debian:11-slim
FROM debian:12-slim
LABEL org.opencontainers.image.authors="https://github.com/enwaiax"
COPY --from=builder /go/x-ui/x-ui /usr/local/bin/x-ui

Expand Down
2 changes: 1 addition & 1 deletion build_image/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ services:
xui:
build:
context: .
dockerfile: Dockerfile
dockerfile: Dockerfile.alpha
image: enwaiax/x-ui
container_name: xui
restart: unless-stopped
Expand Down

0 comments on commit a0d2573

Please sign in to comment.