update v0.3.3.18 for x-ui
This commit is contained in:
parent
fe662708fc
commit
948437cb18
|
@ -1,3 +0,0 @@
|
|||
[submodule "x-ui/x-ui"]
|
||||
path = x-ui/x-ui
|
||||
url = https://github.com/vaxilu/x-ui
|
|
@ -1,11 +1,11 @@
|
|||
FROM golang:latest AS builder
|
||||
LABEL maintainer="Stille <stille@ioiox.com>"
|
||||
|
||||
ENV VERSION 0.3.2
|
||||
ENV VERSION 0.3.3.18
|
||||
|
||||
WORKDIR /root
|
||||
COPY x-ui .
|
||||
RUN go build main.go
|
||||
RUN git clone https://github.com/FranzKafkaYu/x-ui
|
||||
RUN cd x-ui && go build main.go
|
||||
|
||||
FROM debian:11-slim
|
||||
RUN apt-get update \
|
||||
|
@ -13,7 +13,7 @@ RUN apt-get update \
|
|||
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
ENV TZ=Asia/Shanghai
|
||||
WORKDIR /root
|
||||
COPY --from=builder /root/main /root/x-ui
|
||||
COPY x-ui/bin/. /root/bin/.
|
||||
COPY --from=builder /root/x-ui/main /root/x-ui
|
||||
COPY --from=builder /root/x-ui/bin/. /root/bin/.
|
||||
VOLUME [ "/etc/x-ui" ]
|
||||
CMD [ "./x-ui" ]
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 9c1be8c57a53953b47ee7c09a93554e73816f907
|
Loading…
Reference in New Issue