# Use phusion/baseimage as base image. To make your builds reproducible, make # sure you lock down to a specific version, not to `latest`! # See https://github.com/phusion/baseimage-docker/blob/master/Changelog.md for # a list of version numbers. FROM phusion/baseimage-pi:0.9.16 # Use baseimage-docker's init system. CMD ["/sbin/my_init"] # ...put your own build instructions here... COPY . /data RUN /data/bootstrap RUN su - red /data/bootstrap-red # Clean up APT when done. RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*