Skip to content

Instantly share code, notes, and snippets.

@ttimasdf
Created October 12, 2020 11:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ttimasdf/5a3a0bbc64af8220147b3f539773933b to your computer and use it in GitHub Desktop.
Save ttimasdf/5a3a0bbc64af8220147b3f539773933b to your computer and use it in GitHub Desktop.
花生壳内网穿透 (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