initial commit

This commit is contained in:
Andy 2016-05-07 08:52:12 +02:00
parent 932537c2ea
commit ba2ed751cf
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC
2 changed files with 38 additions and 0 deletions

27
Dockerfile Normal file
View File

@ -0,0 +1,27 @@
FROM ubuntu:xenial
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
# To avoid problems with Dialog and curses wizards
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get -y install build-essential libgtk-3-dev libindicator3-dev git-core \
fakeroot dpkg-dev
ENV USER user
ENV UID 1000
ENV HOME /home/$USER
RUN useradd -u $UID -m -d $HOME -s /usr/sbin/nologin $USER
USER $USER
WORKDIR $HOME
ENV REPO indicator-systemtray-unity
ENV REL master
CMD curl -L -o arch.tar.gz https://github.com/GGleb/$REPO/archive/$REL.tar.gz && \
tar xpzf arch.tar.gz && \
rm -f arch.tar.gz && \
cd $REPO-$REL && \
sed -i 's;glib-compile-schemas $(DESTDIR)/usr/share/glib-2.0/schemas/;;g' Makefile && \
dpkg-buildpackage -rfakeroot -b && \
find $HOME/ -xdev -type f -name "*.deb" -exec cp -v '{}' /out \;

11
README.md Normal file
View File

@ -0,0 +1,11 @@
# System tray indicator for Unity
This docker image will produce you the indicator-systemtray-unity deb file which you can use
[![asciicast](https://asciinema.org/a/e0p0uxe6ngybua78eyac6oj8h.png)](https://asciinema.org/a/e0p0uxe6ngybua78eyac6oj8h)
## Build the deb
```
docker run --rm -ti -v $PWD:/out andrey01/indicator-systemtray-unity
```