Guest User

Untitled

a guest
Jul 13th, 2022
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. # Dockerfile for shadowsocksr-native
  2. # Copyright (C) 2022 2ch.hk/s
  3. # Reference URL:
  4. # https://github.com/ShadowsocksR-Live/shadowsocksr-native
  5.  
  6. #FROM python:3.7-alpine
  7. LABEL maintainer="anon <[email protected]>"
  8.  
  9. RUN set -ex \
  10. && apk add --no-cache tar libsodium-dev openssl \
  11. && wget -O /tmp/ssr-native-linux-x64.zip https://github.com/ShadowsocksR-Live/shadowsocksr-native/releases/download/0.9.3/ssr-native-linux-x64.zip \
  12. && unzip -d /tmp /tmp/ssr-native-linux-x64.zip \
  13. && mkdir /usr/local/bin \
  14. && mkdir /etc/shadowsocksr-native \
  15. && mv /tmp/ssr-server /usr/local/bin/ \
  16. && rm -f /tmp/ssr-native-linux-x64.zip
  17.  
  18. #COPY /usr/local/config.json /etc/shadowsocksr-native/config.json
  19. VOLUME /usr/local/etc/shadowsocksr-native
  20.  
  21. CMD [ "/usr/local/bin/ssr-server", "-c", "/etc/shadowsocksr-native/config.json" ]
  22.  
Add Comment
Please, Sign In to add comment