Add ability to generate automatic ARM images

This commit is contained in:
Adrien Kühn
2018-08-19 23:09:20 -04:00
parent b75e11340a
commit 5ab2fe9dae
3 changed files with 11 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
FROM resin/rpi-raspbian:stretch
MAINTAINER Kristian Haugene
RUN [ "cross-build-start" ]
VOLUME /data
VOLUME /config
@@ -123,3 +125,5 @@ ENV OPENVPN_USERNAME=**None** \
# Expose port and run
EXPOSE 9091
CMD ["dumb-init", "/etc/openvpn/start.sh"]
RUN [ "cross-build-end" ]

View File

@@ -1,6 +1,8 @@
FROM resin/rpi-raspbian:stretch
MAINTAINER Kristian Haugene
RUN [ "cross-build-start" ]
# Update packages and install software
RUN apt-get update \
&& apt-get -y upgrade \
@@ -14,3 +16,5 @@ ENV TRANSMISSION_DOWNLOAD_DIR=/data/completed \
RSS_URL=**None**
CMD ["/etc/transmission-rss/start.sh"]
RUN [ "cross-build-end" ]

View File

@@ -1,5 +1,7 @@
FROM resin/rpi-raspbian:stretch
RUN [ "cross-build-start" ]
RUN apt-get update \
&& apt-get install -y \
ca-certificates \
@@ -15,3 +17,4 @@ COPY nginx.conf /etc/nginx/nginx.conf
CMD ["nginx", "-g", "daemon off;"]
RUN [ "cross-build-end" ]