Open lavvy opened 8 years ago
Sorry, but I have no experience with Docker on ARM architecture. Can you please send me what you tried. Maybe I can make it work.
FROM hypriot/rpi-alpine-scratch WORKDIR /src ADD . .
RUN apk --update add python make g++ nodejs \ && npm install \ && apk del make gcc g++ python \ && rm -rf /tmp/* /var/cache/apk/* /root/.npm /root/.node-gyp
RUN chmod +x ./node_modules/coffee-script/bin/coffee
ENV CONTAINER=
ENV CONTAINER_SHELL=bash
ENV KEYPATH=./id_rsa
ENV PORT=22
ENV HTTP_ENABLED=true
ENV HTTP_PORT=8022
EXPOSE 22 8022
CMD ["npm", "start"]
It's still the same process just that you will have to change the base os to an arm os and build it on an arm platform like rpi or scaleway.
It gets error while installing the apk apps. Maybe it didn't find some of its arm compatible apps. I believe if it's apt-get, it would get most of its required armhf equivalent apps. I don't know much of alpine
hello i tried to build an arm docker container of this project but failed. please can you make a Dockerfile.armhf for it. i think it nice to have for raspberry pi. it appears light and sleek