Correct permissions for deploy key

This commit is contained in:
Petros Angelatos 2014-04-27 22:29:28 +01:00 committed by Pablo Carranza Vélez
parent aa6595a767
commit bb2bf83a93

View File

@ -1,6 +1,7 @@
FROM resin/rpi-buildstep:v0.0.3
ADD . /app
ADD deploy_key /root/.ssh/id_rsa
RUN chmod 400 /root/.ssh/id_rsa
ADD known_hosts /root/.ssh/known_hosts
RUN /build/builder
ENTRYPOINT ["/app/entry.sh"]