template.Dockerfile (1783:ddf5f6a322c4) template.Dockerfile (1801:9a4231deb902)
1FROM @@CONTAINER@@ as BUILDER
2
3LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
4
5RUN set -ex \
6 && apt-get update \
7 && apt-get install --no-install-recommends --no-install-suggests -y ca-certificates mercurial build-essential libssl-dev libpcre2-dev \
8 && mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules \

--- 47 unchanged lines hidden (view full) ---

56 --disabled-login \
57 --ingroup unit \
58 --no-create-home \
59 --home /nonexistent \
60 --gecos "unit user" \
61 --shell /bin/false \
62 unit \
63 && apt update \
1FROM @@CONTAINER@@ as BUILDER
2
3LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
4
5RUN set -ex \
6 && apt-get update \
7 && apt-get install --no-install-recommends --no-install-suggests -y ca-certificates mercurial build-essential libssl-dev libpcre2-dev \
8 && mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules \

--- 47 unchanged lines hidden (view full) ---

56 --disabled-login \
57 --ingroup unit \
58 --no-create-home \
59 --home /nonexistent \
60 --gecos "unit user" \
61 --shell /bin/false \
62 unit \
63 && apt update \
64 && apt --no-install-recommends --no-install-suggests -y install $(cat /requirements.apt) \
64 && apt --no-install-recommends --no-install-suggests -y install curl $(cat /requirements.apt) \
65 && apt-get clean && rm -rf /var/lib/apt/lists/* \
66 && rm -f /requirements.apt \
67 && ln -sf /dev/stdout /var/log/unit.log
68
69STOPSIGNAL SIGTERM
70
71ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
72
73CMD ["unitd", "--no-daemon", "--control", "unix:/var/run/control.unit.sock"]
65 && apt-get clean && rm -rf /var/lib/apt/lists/* \
66 && rm -f /requirements.apt \
67 && ln -sf /dev/stdout /var/log/unit.log
68
69STOPSIGNAL SIGTERM
70
71ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
72
73CMD ["unitd", "--no-daemon", "--control", "unix:/var/run/control.unit.sock"]