Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Xubuntu & LXDE to 16.04 #8

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Docker images which contain different Desktop setups

Currently we have

1. Xubuntu 14.04
1. Xubuntu 16.04
2. Ubuntu 14.04 with LXDE
3. Centos with XFCE

Expand Down
26 changes: 10 additions & 16 deletions lxde/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,38 +1,32 @@
FROM ubuntu:14.04
FROM ubuntu:trusty
MAINTAINER Paimpozhil "[email protected]"

RUN apt-get update -y && sudo apt-get upgrade -y

ENV DEBIAN_FRONTEND noninteractive


# Upstart and DBus have issues inside docker. We work around in order to install firefox.
RUN dpkg-divert --local --rename --add /sbin/initctl && ln -sf /bin/true /sbin/initctl

# Installing fuse package (libreoffice-java dependency) and it's going to try to create
# a fuse device without success, due the container permissions. || : help us to ignore it.
# Then we are going to delete the postinst fuse file and try to install it again!

RUN apt-get -y install fuse || :
RUN apt-get update && apt-get -y install fuse || :
RUN rm -rf /var/lib/dpkg/info/fuse.postinst
RUN apt-get -y install fuse

RUN apt-get install -y openssh-server lxde software-properties-common python-software-properties
RUN apt-get install -y \
sudo \
openssh-server \
lxde \
software-properties-common \
python-software-properties

RUN add-apt-repository ppa:x2go/stable

RUN apt-get update

RUN apt-get install x2goserver x2goserver-xsession x2golxdebindings pwgen firefox pulseaudio libcurl3 libappindicator1 -y

RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

RUN dpkg -i google-chrome*.deb

RUN apt-get install -f

RUN ln -s /chrome.sh /usr/bin/chrome

RUN apt-get update && apt-get install x2goserver x2goserver-xsession x2golxdebindings pwgen firefox pulseaudio libcurl3 -y

RUN mkdir -p /var/run/sshd && sed -i "s/UsePrivilegeSeparation.*/UsePrivilegeSeparation no/g" /etc/ssh/sshd_config && sed -i "s/UsePAM.*/UsePAM no/g" /etc/ssh/sshd_config
RUN sed -i "s/PermitRootLogin.*/PermitRootLogin yes/g" /etc/ssh/sshd_config
RUN sed -i "s/#PasswordAuthentication/PasswordAuthentication/g" /etc/ssh/sshd_config
Expand Down
2 changes: 1 addition & 1 deletion xubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:14.04
FROM ubuntu:16.04
MAINTAINER Paimpozhil "[email protected]"

RUN apt-get update
Expand Down