12345678910111213141516171819202122 |
- FROM debian:stretch
- ENV container docker
- ENV DEBIAN_FRONTEND noninteractive
- COPY container.target /etc/systemd/system/container.target
- RUN apt update && \
- apt install -y systemd python locales && \
- ln -sf /etc/systemd/system/container.target /etc/systemd/system/default.target && \
- ln -sf /lib/systemd/systemd /sbin/init && \
- apt-get clean && \
- rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
- localedef -i ru_RU -c -f UTF-8 -A /usr/share/locale/locale.alias ru_RU.UTF-8
- ENTRYPOINT ["/sbin/init"]
- ENV LANG ru_RU.utf8
- CMD ["--log-level=info"]
- STOPSIGNAL SIGRTMIN+3
|