1
0
mirror of /repos/node-red-pi2.git synced 2026-02-27 17:11:59 +01:00

bootstrap service

This commit is contained in:
Aiko Mastboom
2015-05-10 17:26:00 +02:00
parent d387762c8a
commit ea8bf2549f
3 changed files with 24 additions and 16 deletions

View File

@@ -2,15 +2,16 @@ FROM phusion/baseimage:0.9.16
# Use baseimage-docker's init system.
CMD ["/sbin/my_init"]
VOLUME /data
COPY . /tmp
RUN NODE_VERSION=0.10.38 TIMEZONE="Europe/Amsterdam" /tmp/bootstrap
RUN /tmp/bootstrap-service
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