1
0
mirror of /repos/node-red-pi2.git synced 2025-12-30 07:31:34 +01:00
node-red-pi2/Dockerfile
2015-05-09 07:43:05 +02:00

17 lines
547 B
Docker

# 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/*