Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (25 sloc) 1.07 KB
FROM ubuntu:zesty
MAINTAINER Ian Foster <ian@vorsk.com>
# install xpra
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y wget && \
wget -O - http://winswitch.org/gpg.asc | apt-key add - && \
echo "deb http://winswitch.org/ zesty main" > /etc/apt/sources.list.d/xpra.list && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y xpra xvfb xterm && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
ADD infinityTerm.sh /usr/local/bin/infinityTerm
# non-root user
RUN adduser --disabled-password --gecos "User" --uid 1000 user
# install all X apps here
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y firefox && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
USER user
ENV DISPLAY=:100
VOLUME /data
WORKDIR /data
EXPOSE 10000
CMD xpra start --bind-tcp=0.0.0.0:10000 --html=on --start-child=infinityTerm --exit-with-children --daemon=no --xvfb="/usr/bin/Xvfb +extension Composite -screen 0 1920x1080x24+32 -nolisten tcp -noreset" --pulseaudio=no --notifications=no --bell=no
You can’t perform that action at this time.