Skip to content

Instantly share code, notes, and snippets.

@wico
Created June 9, 2016 07:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wico/076ba6cf4c52c4dbf13f028e3c1872d4 to your computer and use it in GitHub Desktop.
Save wico/076ba6cf4c52c4dbf13f028e3c1872d4 to your computer and use it in GitHub Desktop.
Dockerfile to build lampe
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
@wico
Copy link
Author

wico commented Jun 9, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment