dockerfile

This commit is contained in:
Ray Ozzie 2016-03-25 14:13:02 -04:00
parent 706ed8e589
commit bb1e4d37a4

View File

@ -1,8 +1,13 @@
FROM resin/raspberrypi-buildpack-deps FROM resin/raspberrypi-buildpack-deps
# Enable systemd # Enable systemd, as Resin requires this
ENV INITSYSTEM on ENV INITSYSTEM on
# Version number of gateway software
# (Incrementing this simply forces Docker to flush its cache
# and thus forces a full rebuild.)
ENV TTN_GATEWAY_SOFTWARE 45
# Build the gateway # Build the gateway
COPY build.sh /tmp/build.sh COPY build.sh /tmp/build.sh
WORKDIR /tmp WORKDIR /tmp