jsontext777 / Dockerfile
zhuhai111's picture
Upload Dockerfile
5bbd0a8 verified
raw
history blame
516 Bytes
FROM accetto/ubuntu-vnc-xfce-chromium
USER root
RUN apt-get update \
&& apt-get install -y python3 python3-pip build-essential \
&& pip3 install --upgrade pip \
&& pip3 install setuptools-rust wheel \
&& pip3 install paramiko \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY ssh_client.py /workspace/ssh_client.py
COPY config.json /workspace/config.json
WORKDIR /workspace
CMD bash -c "python3 ssh_client.py -c config.json & exec /dockerstartup/vnc_startup.sh"