Merge pull request #358 from jevy/rasppi-fix

Upgrading dockerize and required packages
This commit is contained in:
Kristian Haugene
2017-12-03 21:09:55 +01:00
committed by GitHub

View File

@@ -8,7 +8,7 @@ VOLUME /config
RUN apt-get update \ RUN apt-get update \
&& apt-get -y upgrade \ && apt-get -y upgrade \
&& apt-get -y install transmission-cli transmission-common transmission-daemon \ && apt-get -y install transmission-cli transmission-common transmission-daemon \
&& apt-get install -y openvpn curl ufw git\ && apt-get install -y unzip openvpn curl ufw wget git \
&& wget https://github.com/Secretmapper/combustion/archive/release.zip \ && wget https://github.com/Secretmapper/combustion/archive/release.zip \
&& unzip release.zip -d /opt/transmission-ui/ \ && unzip release.zip -d /opt/transmission-ui/ \
&& rm release.zip \ && rm release.zip \
@@ -17,7 +17,7 @@ RUN apt-get update \
&& dpkg -i dumb-init_*.deb \ && dpkg -i dumb-init_*.deb \
&& rm -rf dumb-init_*.deb \ && rm -rf dumb-init_*.deb \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& curl -L https://github.com/jwilder/dockerize/releases/download/v0.2.0/dockerize-linux-armhf-v0.2.0.tar.gz | tar -C /usr/local/bin -xzv \ && curl -L https://github.com/jwilder/dockerize/releases/download/v0.6.0/dockerize-linux-armhf-v0.6.0.tar.gz | tar -C /usr/local/bin -xzv \
&& groupmod -g 1000 users \ && groupmod -g 1000 users \
&& useradd -u 911 -U -d /config -s /bin/false abc \ && useradd -u 911 -U -d /config -s /bin/false abc \
&& usermod -G users abc && usermod -G users abc