# FROM --platform=linux/arm registry.gitlab.com/modioab/scada-hello/template:armhf # We don't have a proper _minimal_ template for buster, only for older OS release # Instead, use the "python" one. FROM --platform=linux/arm registry.gitlab.com/modioab/mytemp-backend/template/python:latest ARG URL=unknown ARG COMMIT=unknown ARG BRANCH=unknown ARG HOST=unknown ARG DATE=unknown ARG TARGET=armv7-unknown-linux-gnueabihf LABEL "se.modio.ci.url"=$URL "se.modio.ci.branch"=$BRANCH "se.modio.ci.commit"=$COMMIT "se.modio.ci.host"=$HOST "se.modio.ci.date"=$DATE "se.modio.service"=modio-localapi COPY config/hosts /etc/hosts COPY config/resolv.conf /etc/resolv.conf COPY config/machine-id /etc/machine-id COPY config/modio-localapi.conf /etc/modio-localapi.conf COPY config/modio-localapi.service /etc/systemd/system/modio-localapi.service COPY config/modio-localapi.socket /etc/systemd/system/modio-localapi.socket COPY target/${TARGET}/release/modio-localapi /opt/bin/modio-localapi