commit 58c10fabba7eeb50226c5d0b1ebba8e7bed1b60f
parent c89583149a6c2bdab1daefc700b8bb2eb9ae5c5f
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Thu, 11 Aug 2016 21:09:14 +0200
Update Dockerfile
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
@@ -16,8 +16,9 @@ RUN apt-get update && apt-get install -y \
# Install resin.io's rce (docker)
COPY ./rce /usr/bin/rce
-RUN chmod u+x /usr/bin/rce
+RUN chmod x /usr/bin/rce
RUN ln -s /usr/bin/rce /usr/bin/docker
+rm -rf /var/run/rce.pid
RUN apt-get update && apt-get install -y apt-transport-https && echo "deb https://packagecloud.io/Hypriot/Schatzkiste/debian/ jessie main" | tee /etc/apt/sources.list.d/hypriot.list && apt-get update && apt-get install -y --force-yes docker-compose
@@ -25,6 +26,10 @@ RUN apt-get update && apt-get install -y apt-transport-https && echo "deb https:
RUN git clone --recursive https://github.com/MTRNord/boinc-server-docker.git
RUN echo "127.0.0.1 http://ProjectStreet.dynu.com" >> /etc/hosts
+# Define additional metadata for our image.
+VOLUME /var/lib/rce
+RUN ln -s /var/lib/rce /var/lib/docker
+
COPY . /app
RUN [ "cross-build-end" ]