Skip to content

Commit c04a0c4

Browse files
committed
Dockerfile
1 parent 06d8ef1 commit c04a0c4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

xray-daemon/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
FROM amazonlinux
22
RUN yum install -y unzip
3-
RUN curl -o daemon.zip https://s3.dualstack.us-east-2.amazonaws.com/aws-xray-assets.us-east-2/xray-daemon/aws-xray-daemon-linux-2.x.zip
4-
RUN unzip daemon.zip -d /
5-
COPY /xray /usr/bin/xray
3+
RUN curl -o ./daemon.zip https://s3.dualstack.us-east-2.amazonaws.com/aws-xray-assets.us-east-2/xray-daemon/aws-xray-daemon-linux-2.x.zip
4+
RUN unzip ./daemon.zip && cp xray /usr/bin/xray
65
EXPOSE 2000/udp
76
ENTRYPOINT ["/usr/bin/xray", "-b", "0.0.0.0:2000"]

0 commit comments

Comments
 (0)