Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
26 lines (18 sloc)
572 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from debian:buster-slim | |
run apt-get update \ | |
&& apt-get upgrade -y | |
run apt-get install --no-install-recommends -y \ | |
fluxbox \ | |
openssl \ | |
websockify \ | |
x11vnc \ | |
xterm \ | |
xvfb | |
run apt autoremove -y | |
run groupadd oracle && mkdir /home/oracle \ | |
&& useradd -s /bin/bash -g oracle oracle \ | |
&& cp /etc/skel/.bashrc /home/oracle/.bashrc \ | |
&& echo "cd ~/share" >> /home/oracle/.bashrc | |
copy ./entrypoint.sh /home/oracle/ | |
expose 5900/tcp | |
entrypoint ["/bin/bash", "/home/oracle/entrypoint.sh"] | |