Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (33 sloc) 1016 Bytes
# Ubuntu Desktop Dockerfile
# Pull base image.
FROM ubuntu:16.04
MAINTAINER Rahul Vishwakarma <>
# Root user installs desktop server.
RUN echo "Install desktop on top of ubuntu image"
DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y software-properties-common
DEBIAN_FRONTEND=noninteractive apt-add-repository multiverse
DEBIAN_FRONTEND=noninteractive apt-get install -y xubuntu-desktop
DEBIAN_FRONTEND=noninteractive apt-get install -y sudo tightvncserver x11vnc xfonts-base vim openssh-server build-essential
service ssh restart
# Define working directory
RUN useradd -m crusader && echo "crusader:crusader" | chpasswd && adduser crusader sudo
# Install R and RShiny Server
USER crusader
WORKDIR /home/crusader
# Do this manually to run VNC on this machine
# RUN vncserver -geometry 1440x900 -rfbport 5900
# Define default command.
CMD ["bash"]
# Expose ports.
EXPOSE 52022:22
EXPOSE 52023:5900
EXPOSE 52021:80
You can’t perform that action at this time.