From bb1e4d37a4c5818c2ecc4d8b6b565652483f37fb Mon Sep 17 00:00:00 2001 From: Ray Ozzie Date: Fri, 25 Mar 2016 14:13:02 -0400 Subject: [PATCH] dockerfile --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2b7a638..5d916e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,13 @@ FROM resin/raspberrypi-buildpack-deps -# Enable systemd +# Enable systemd, as Resin requires this 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 COPY build.sh /tmp/build.sh WORKDIR /tmp