mirror of
/repos/node-red-pi2.git
synced 2026-02-27 17:11:59 +01:00
node-red 0.13.4
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -1,14 +1,12 @@
|
||||
FROM aiko/rpi-node:0.10.36
|
||||
FROM aiko/rpi-node:4.4.3
|
||||
|
||||
# Use baseimage-docker's init system.
|
||||
CMD ["/sbin/my_init"]
|
||||
|
||||
COPY . /tmp
|
||||
RUN /tmp/bootstrap
|
||||
RUN su -lc /tmp/bootstrap-red red
|
||||
|
||||
# Clean up APT when done.
|
||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
RUN /tmp/bootstrap \
|
||||
&& su -lc /tmp/bootstrap-red red \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
# How to plug it in
|
||||
VOLUME /data
|
||||
|
||||
Reference in New Issue
Block a user