Create placeholders for stko
Just open xterm
This commit is contained in:
parent
fc6c2693d5
commit
67121f5fd6
2 changed files with 6 additions and 14 deletions
12
Dockerfile
12
Dockerfile
|
|
@ -109,21 +109,13 @@ COPY --from=builder /src/web/dist/ /usr/local/lib/web/frontend/
|
||||||
|
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt install -y \
|
&& apt install -y \
|
||||||
python3-pip \
|
|
||||||
python3-dev \
|
|
||||||
python3-setuptools \
|
|
||||||
dirmngr \
|
|
||||||
xterm \
|
xterm \
|
||||||
&& apt autoclean \
|
&& apt autoclean \
|
||||||
&& apt autoremove \
|
&& apt autoremove \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN echo "deb http://qgis.org/ubuntu bionic main" >> /etc/apt/sources.list
|
# Add our STKO (currently using glxgears as example)
|
||||||
RUN echo "deb-src http://qgis.org/ubuntu bionic main" >> /etc/apt/sources.list
|
RUN apt update && apt-get install -y mesa-utils
|
||||||
|
|
||||||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-key CAEB3DC3BDF7FB45
|
|
||||||
|
|
||||||
RUN apt update && apt-get install -y qgis python3-qgis qgis-plugin-grass
|
|
||||||
|
|
||||||
COPY image /
|
COPY image /
|
||||||
EXPOSE 6080
|
EXPOSE 6080
|
||||||
|
|
|
||||||
|
|
@ -60,10 +60,10 @@ command=bash /usr/local/lib/web/frontend/static/novnc/utils/launch.sh --listen 6
|
||||||
stopasgroup=true
|
stopasgroup=true
|
||||||
stdout_logfile=/var/log/novnc.log
|
stdout_logfile=/var/log/novnc.log
|
||||||
|
|
||||||
[program:qgis]
|
[program:stko]
|
||||||
priority=35
|
priority=35
|
||||||
directory=/home/ubuntu/mydata
|
directory=/home/ubuntu/mydata
|
||||||
command=xterm -r -ls -geometry 80x24+10+10 -title '*** Exit this window to kill your QGIS session ***' -e '/usr/bin/qgis --nologo'
|
command=xterm -r -ls -geometry 80x24+10+10 -title '*** Exit this window to kill your QGIS session ***' -e 'xterm'
|
||||||
user=ubuntu
|
user=ubuntu
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=false
|
autorestart=false
|
||||||
|
|
@ -74,5 +74,5 @@ redirect_stderr=true
|
||||||
|
|
||||||
[eventlistener:exit]
|
[eventlistener:exit]
|
||||||
command=/kill.py
|
command=/kill.py
|
||||||
process_name=qgis
|
process_name=stko
|
||||||
events=PROCESS_STATE_EXITED
|
events=PROCESS_STATE_EXITED
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue