Merge pull request #401 from infothrill/infothrill/arm-stretch
Upgrade armhf image to debian stretch. This will remove the need for …
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM resin/rpi-raspbian:jessie
|
FROM resin/rpi-raspbian:stretch
|
||||||
MAINTAINER Kristian Haugene
|
MAINTAINER Kristian Haugene
|
||||||
|
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
@@ -8,14 +8,11 @@ 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 unzip openvpn curl ufw wget git \
|
&& apt-get install -y dumb-init 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 \
|
||||||
&& git clone git://github.com/endor/kettu.git /opt/transmission-ui/kettu \
|
&& git clone git://github.com/endor/kettu.git /opt/transmission-ui/kettu \
|
||||||
&& curl -sLO https://archive.raspbian.org/raspbian/pool/main/d/dumb-init/dumb-init_1.0.3-1_armhf.deb \
|
|
||||||
&& dpkg -i 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.6.0/dockerize-linux-armhf-v0.6.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 \
|
||||||
|
Reference in New Issue
Block a user