Created
June 9, 2016 07:32
-
-
Save wico/076ba6cf4c52c4dbf13f028e3c1872d4 to your computer and use it in GitHub Desktop.
Dockerfile to build lampe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:15.10 | |
RUN apt-get clean && \ | |
apt-get update && \ | |
apt-get -y install \ | |
libsoup2.4-dev \ | |
libgtk-3-dev \ | |
libjson-glib-dev \ | |
valac \ | |
make \ | |
gcc \ | |
apt-utils \ | |
libgl1-mesa-glx \ | |
libglapi-mesa \ | |
mc \ | |
git | |
RUN git clone https://github.com/poinck/lampe.git && \ | |
cd lampe && \ | |
make && \ | |
make install | |
CMD /lampe/lampe-gtk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To run it:
docker run -it --net=host -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v /etc/passwd:/etc/passwd -v /etc/group:/etc/group -v ${HOME}:${HOME} -u $(id -u) -w ${HOME} YOUR_IMAGE