Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fanmingming authored Aug 25, 2024
1 parent 75cf2c1 commit baccd47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ RUN apk update && apk add --no-cache make gcc libc-dev wget

# 编译 UDPXY
WORKDIR /tmp
RUN wget -O udpxy.tar.gz https://github.com/pcherenkov/udpxy/archive/refs/tags/1.0-25.1.tar.gz \
&& tar zxf udpxy.tar.gz \
RUN wget -O udpxy1.0-25.1.tar.gz https://github.com/pcherenkov/udpxy/archive/refs/tags/1.0-25.1.tar.gz \
&& tar zxf udpxy1.0-25.1.tar.gz \
&& cd udpxy-* && make && make install

# 删除不必要的文件和包
RUN apk del make gcc libc-dev wget \
&& rm -rf /tmp/udpxy-*
&& rm -rf /tmp/udpxy*

# Alpine v3
FROM alpine:3.15
Expand Down

0 comments on commit baccd47

Please sign in to comment.