pass resin arch to run.sh

This commit is contained in:
Ray Ozzie 2016-04-22 12:26:57 -04:00
parent 55d3fe4f63
commit da0b6b9a7a

View File

@ -3,6 +3,9 @@ FROM resin/raspberrypi-buildpack-deps
# Enable systemd, as Resin requires this # Enable systemd, as Resin requires this
ENV INITSYSTEM on ENV INITSYSTEM on
# Make the hardware type available as a runtime env var
ENV RESIN_ARCH %%RESIN_ARCH%%
# Version number of gateway software. # Version number of gateway software.
# (Incrementing this simply forces Docker to flush its cache # (Incrementing this simply forces Docker to flush its cache
# and thus forces a full rebuild. Not used outside of Dockerfile.) # and thus forces a full rebuild. Not used outside of Dockerfile.)