66aebb329c
Move from sed to jinja2 for more readability.
22 lines
393 B
Django/Jinja
22 lines
393 B
Django/Jinja
FROM docker-base
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -y libdbus-1-3 libdaemon0 libjansson4
|
|
|
|
COPY debs/ debs
|
|
|
|
RUN dpkg -i \
|
|
{% for deb in docker_fpm_debs.split(' ') -%}
|
|
debs/{{ deb }}{{' '}}
|
|
{%- endfor %}
|
|
|
|
## Clean up
|
|
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
|
|
RUN rm -rf /debs
|
|
|
|
COPY ["start.sh", "/usr/bin/"]
|
|
|
|
ENTRYPOINT /usr/bin/start.sh \
|
|
&& /bin/bash
|