Jakub Sokołowski f24c714b49
beacon-node-builds: fix apt-get stdout redirection
The & character breaks the command in /bin/sh shell.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-14 16:09:46 +02:00

19 lines
399 B
Django/Jinja

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