FROM resin/rpi-buildstep:v0.0.5 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"]