infra-nimbus/ansible/roles/beacon-node-builds/templates/Dockerfile.j2

19 lines
377 B
Django/Jinja

FROM debian:bullseye-slim
ARG COMMIT
RUN apt-get -qq update \
&& apt-get -qq -y install libpcre3-dev &>/dev/null \
&& apt-get -qq clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
{% for target in item.targets %}
COPY repo/build/{{ target }} /usr/local/bin/
{% endfor %}
STOPSIGNAL SIGINT
ENTRYPOINT ["/usr/local/bin/{{ item.targets | first }}"]
CMD ["--help"]