Rpm: create certificate on postinst, remove on postrm

This commit is contained in:
Dmitry Maksyoma
2021-02-12 18:11:27 +13:00
parent b97633ca10
commit e9e7ecd74d
5 changed files with 35 additions and 12 deletions

View File

@@ -52,7 +52,7 @@ RUN yum localinstall -y /tmp/*.rpm
### END CUSTOM STUFF ###
RUN chown -R 1000:0 $HOME
USER 1000
USER 1000:kasmvnc
WORKDIR $HOME
RUN mkdir ~/.vnc && echo '/usr/bin/xfce4-session &' >> ~/.vnc/xstartup && \