mirror of
/repos/node-red-pi2.git
synced 2026-02-27 17:11:59 +01:00
initial commit
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
# 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/*
|
||||
Reference in New Issue
Block a user