mirror of
/repos/node-red-pi2.git
synced 2025-12-30 07:31:34 +01:00
17 lines
295 B
Docker
17 lines
295 B
Docker
FROM aiko/rpi-node:0.10.36
|
|
|
|
# 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/*
|
|
|
|
# How to plug it in
|
|
VOLUME /data
|
|
EXPOSE 1880
|
|
|