Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Dockerfile for shadowsocksr-native
- # Copyright (C) 2022 2ch.hk/s
- # Reference URL:
- # https://github.com/ShadowsocksR-Live/shadowsocksr-native
- #FROM python:3.7-alpine
- LABEL maintainer="anon <[email protected]>"
- RUN set -ex \
- && apk add --no-cache tar libsodium-dev openssl \
- && 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 \
- && unzip -d /tmp /tmp/ssr-native-linux-x64.zip \
- && mkdir /usr/local/bin \
- && mkdir /etc/shadowsocksr-native \
- && mv /tmp/ssr-server /usr/local/bin/ \
- && rm -f /tmp/ssr-native-linux-x64.zip
- #COPY /usr/local/config.json /etc/shadowsocksr-native/config.json
- VOLUME /usr/local/etc/shadowsocksr-native
- CMD [ "/usr/local/bin/ssr-server", "-c", "/etc/shadowsocksr-native/config.json" ]
Add Comment
Please, Sign In to add comment