Skip to content

Instantly share code, notes, and snippets.

@ttimasdf

ttimasdf/Dockerfile

Created Oct 12, 2020
Embed
What would you like to do?
花生壳内网穿透 (phddns 5.0) Docker 容器
FROM ubuntu:20.04
RUN apt-get update && apt-get install -y wget
ARG url="https://dl-cdn.oray.com/hsk/linux/phddns-5.0.0-amd64.deb"
RUN wget "$url" -O phddns.deb && \
dpkg -i phddns.deb && \
rm phddns.deb
CMD ["/usr/bin/phtunnel", "-v", "-c", "/etc/phtunnel.json", "-r", "-i", "11429", "-k", "adf9fb5a1ad438b9", "-e", "client-ua:HSKEMD/5.0.0/Ubuntu/20050500;vendor:Oray"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment