Add ability to generate automatic ARM images
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
FROM resin/rpi-raspbian:stretch
|
FROM resin/rpi-raspbian:stretch
|
||||||
MAINTAINER Kristian Haugene
|
MAINTAINER Kristian Haugene
|
||||||
|
|
||||||
|
RUN [ "cross-build-start" ]
|
||||||
|
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
VOLUME /config
|
VOLUME /config
|
||||||
|
|
||||||
@@ -123,3 +125,5 @@ ENV OPENVPN_USERNAME=**None** \
|
|||||||
# Expose port and run
|
# Expose port and run
|
||||||
EXPOSE 9091
|
EXPOSE 9091
|
||||||
CMD ["dumb-init", "/etc/openvpn/start.sh"]
|
CMD ["dumb-init", "/etc/openvpn/start.sh"]
|
||||||
|
|
||||||
|
RUN [ "cross-build-end" ]
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
FROM resin/rpi-raspbian:stretch
|
FROM resin/rpi-raspbian:stretch
|
||||||
MAINTAINER Kristian Haugene
|
MAINTAINER Kristian Haugene
|
||||||
|
|
||||||
|
RUN [ "cross-build-start" ]
|
||||||
|
|
||||||
# Update packages and install software
|
# Update packages and install software
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get -y upgrade \
|
&& apt-get -y upgrade \
|
||||||
@@ -14,3 +16,5 @@ ENV TRANSMISSION_DOWNLOAD_DIR=/data/completed \
|
|||||||
RSS_URL=**None**
|
RSS_URL=**None**
|
||||||
|
|
||||||
CMD ["/etc/transmission-rss/start.sh"]
|
CMD ["/etc/transmission-rss/start.sh"]
|
||||||
|
|
||||||
|
RUN [ "cross-build-end" ]
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
FROM resin/rpi-raspbian:stretch
|
FROM resin/rpi-raspbian:stretch
|
||||||
|
|
||||||
|
RUN [ "cross-build-start" ]
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y \
|
&& apt-get install -y \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
@@ -15,3 +17,4 @@ COPY nginx.conf /etc/nginx/nginx.conf
|
|||||||
|
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|
||||||
|
RUN [ "cross-build-end" ]
|
||||||
|
Reference in New Issue
Block a user