2023-02-06 11:26:35 -06:00
|
|
|
FROM docker-config-engine-bullseye-{{DOCKER_USERNAME}}:{{DOCKER_USERTAG}}
|
2021-11-15 23:58:47 -06:00
|
|
|
|
|
|
|
ARG docker_container_name
|
|
|
|
|
|
|
|
## Make apt-get non-interactive
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get -y install \
|
2023-02-06 11:26:35 -06:00
|
|
|
libboost-atomic1.74.0 \
|
2021-11-15 23:58:47 -06:00
|
|
|
libqt5core5a \
|
|
|
|
libqt5network5
|
|
|
|
|
|
|
|
COPY \
|
|
|
|
{% for deb in docker_saiserver_centec_debs.split(' ') -%}
|
|
|
|
debs/{{ deb }}{{' '}}
|
|
|
|
{%- endfor -%}
|
|
|
|
debs/
|
|
|
|
|
|
|
|
RUN dpkg_apt() { [ -f $1 ] && { dpkg -i $1 || apt-get -y install -f; } || return 1; } ; \
|
|
|
|
{% for deb in docker_saiserver_centec_debs.split(' ') -%}
|
|
|
|
dpkg_apt debs/{{ deb }}{{'; '}}
|
|
|
|
{%- endfor %}
|
|
|
|
|
|
|
|
COPY ["start.sh", "/usr/bin/"]
|
|
|
|
COPY ["supervisord.conf", "/etc/supervisor/conf.d/"]
|
|
|
|
|
|
|
|
## Clean up
|
|
|
|
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
|
|
|
|
RUN rm -rf /debs
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/local/bin/supervisord"]
|