From 9f95a3fb0f54d6627962ce1c10e498f5abc6ec26 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Thu, 31 Dec 2020 16:43:12 +0900 Subject: [PATCH] Update Dockerfile --- docker/xray/Dockerfile | 12 ++++++------ docker/xray/Dockerfile.architecture | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docker/xray/Dockerfile b/docker/xray/Dockerfile index ce8f261..eac48b2 100644 --- a/docker/xray/Dockerfile +++ b/docker/xray/Dockerfile @@ -2,9 +2,9 @@ # Copyright (C) 2019 - 2020 Teddysun # Reference URL: # https://github.com/XTLS/Xray-core -# https://github.com/v2ray/v2ray-core -# https://github.com/v2ray/geoip -# https://github.com/v2ray/domain-list-community +# https://github.com/v2fly/v2ray-core +# https://github.com/v2fly/geoip +# https://github.com/v2fly/domain-list-community FROM alpine:latest LABEL maintainer="Teddysun " @@ -14,12 +14,12 @@ COPY xray.sh /root/xray.sh COPY config.json /etc/xray/config.json RUN set -ex \ && apk add --no-cache tzdata ca-certificates \ - && mkdir -p /var/log/xray \ + && mkdir -p /var/log/xray /usr/local/share/xray \ && chmod +x /root/xray.sh \ && /root/xray.sh \ && rm -fv /root/xray.sh \ - && wget -O /usr/bin/geosite.dat https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat \ - && wget -O /usr/bin/geoip.dat https://github.com/v2fly/geoip/releases/latest/download/geoip.dat + && wget -O /usr/local/share/xray/geosite.dat https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat \ + && wget -O /usr/local/share/xray/geoip.dat https://github.com/v2fly/geoip/releases/latest/download/geoip.dat VOLUME /etc/xray ENV TZ=Asia/Shanghai diff --git a/docker/xray/Dockerfile.architecture b/docker/xray/Dockerfile.architecture index 8b4a755..9eb8080 100644 --- a/docker/xray/Dockerfile.architecture +++ b/docker/xray/Dockerfile.architecture @@ -2,9 +2,9 @@ # Copyright (C) 2019 - 2020 Teddysun # Reference URL: # https://github.com/XTLS/Xray-core -# https://github.com/v2ray/v2ray-core -# https://github.com/v2ray/geoip -# https://github.com/v2ray/domain-list-community +# https://github.com/v2fly/v2ray-core +# https://github.com/v2fly/geoip +# https://github.com/v2fly/domain-list-community FROM --platform=${TARGETPLATFORM} alpine:latest LABEL maintainer="Teddysun " @@ -15,12 +15,12 @@ COPY xray.sh /root/xray.sh COPY config.json /etc/xray/config.json RUN set -ex \ && apk add --no-cache tzdata ca-certificates \ - && mkdir -p /var/log/xray \ + && mkdir -p /var/log/xray /usr/local/share/xray \ && chmod +x /root/xray.sh \ && /root/xray.sh "${TARGETPLATFORM}" \ && rm -fv /root/xray.sh \ - && wget -O /usr/bin/geosite.dat https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat \ - && wget -O /usr/bin/geoip.dat https://github.com/v2fly/geoip/releases/latest/download/geoip.dat + && wget -O /usr/local/share/xray/geosite.dat https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat \ + && wget -O /usr/local/share/xray/geoip.dat https://github.com/v2fly/geoip/releases/latest/download/geoip.dat VOLUME /etc/xray ENV TZ=Asia/Shanghai