added possiblity to execute custom command when starting a screenshare

This commit is contained in:
2021-08-07 00:06:28 +04:00
parent be73f23811
commit c5bed3afa2
6 changed files with 40 additions and 11 deletions

View File

@@ -30,10 +30,6 @@ run apt-get -q -y update; apt-get -q -y upgrade && \
apt-get -q -y install sudo openssh-server && \
mkdir /var/run/sshd
# Installing golang and git
run apt install golang && \
apt install git
# Set root password
run echo 'root:password' >> /root/passwdfile
@@ -52,8 +48,6 @@ run chpasswd -c SHA512 < /root/passwdfile && \
# Port 22 is used for ssh
expose 22
expose
# Assign /data as static volume.
volume ["/data"]