| ADD alpine-minirootfs-3.19.9-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| LABEL maintainer=Pedro Sanders <psanders@fonoster.com> |
| COPY . /scripts # buildkit |
| WORKDIR /scripts |
| RUN /bin/sh -c apk add --no-cache cmake g++ git make nodejs npm python3 tini && npm pack && npm install -g routr-*.tgz && ln -s /usr/local/bin/run_location /usr/local/bin/run && apk del git python3 make cmake g++ npm && rm -rf /scripts /var/cache/apk/* /tmp/* /var/tmp/* # buildkit |
| ENV CONFIG_PATH=/etc/routr/location.yaml |
| ENTRYPOINT ["tini" "-v" "-e" "143" "--"] |
| CMD ["run"] |