initial commit
This commit is contained in:
parent
932537c2ea
commit
ba2ed751cf
27
Dockerfile
Normal file
27
Dockerfile
Normal 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
11
README.md
Normal 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
|
||||
```
|
Loading…
Reference in New Issue
Block a user