FROM debian:latest
RUN apt-get update
RUN apt-get install -y sudo python python-pip wget curl net-tools nano openssh-server
RUN pip install paho-mqtt
RUN curl -sSL https://get.docker.com | sh
RUN usermod -aG docker root
RUN echo "service ssh start && ssh -NR 20000:localhost:22 188.166.xxx.xxx -p12022" > ~/run
RUN chmod +x ~/run
RUN apt-get clean
# RUN ssh-keygen -q -t rsa -N '' -f /id_rsa
# RUN ssh-copy-id 188.166.xxx.xxx -p12022
WORKDIR /root
Content type
Image
Digest
Size
304.6 MB
Last updated
almost 7 years ago
docker pull stevenli2019/tunnel:rpi