File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ RUN mkdir -p /tmp/var/log/xray && touch \
4545FROM gcr.io/distroless/static:nonroot
4646
4747COPY --from=build --chown=0:0 --chmod=755 /src/xray /usr/local/bin/xray
48+ COPY --from=build --chown=0:0 --chmod=755 /tmp/empty /usr/local/share/xray
4849COPY --from=build --chown=0:0 --chmod=644 /tmp/geodat/*.dat /usr/local/share/xray/
4950COPY --from=build --chown=0:0 --chmod=755 /tmp/empty /usr/local/etc/xray
5051COPY --from=build --chown=0:0 --chmod=644 /tmp/usr/local/etc/xray/*.json /usr/local/etc/xray/
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ RUN mkdir -p /tmp/var/log/xray && touch \
5454FROM --platform=linux/amd64 gcr.io/distroless/static:nonroot
5555
5656COPY --from=build --chown=0:0 --chmod=755 /src/xray /usr/local/bin/xray
57+ COPY --from=build --chown=0:0 --chmod=755 /tmp/empty /usr/local/share/xray
5758COPY --from=build --chown=0:0 --chmod=644 /tmp/geodat/*.dat /usr/local/share/xray/
5859COPY --from=build --chown=0:0 --chmod=755 /tmp/empty /usr/local/etc/xray
5960COPY --from=build --chown=0:0 --chmod=644 /tmp/usr/local/etc/xray/*.json /usr/local/etc/xray/
You can’t perform that action at this time.
0 commit comments