mirror of
https://github.com/minoplhy/docker-ripe-atlas.git
synced 2025-04-21 20:36:58 +00:00
Use tini
This commit is contained in:
parent
a437d8cbcd
commit
4b23a0f484
@ -55,7 +55,7 @@ RUN ln -s /bin/true /bin/systemctl \
|
|||||||
&& groupadd --force --system --gid $ATLAS_GID atlas \
|
&& groupadd --force --system --gid $ATLAS_GID atlas \
|
||||||
&& usermod -aG atlas atlas \
|
&& usermod -aG atlas atlas \
|
||||||
&& apt-get update -y \
|
&& apt-get update -y \
|
||||||
&& apt-get install -y libcap2-bin iproute2 openssh-client procps net-tools \
|
&& apt-get install -y libcap2-bin iproute2 openssh-client procps net-tools tini \
|
||||||
&& dpkg -i /tmp/atlasswprobe-*.deb \
|
&& dpkg -i /tmp/atlasswprobe-*.deb \
|
||||||
&& apt-get install -fy \
|
&& apt-get install -fy \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
@ -72,5 +72,5 @@ RUN chmod +x /usr/local/bin/* \
|
|||||||
WORKDIR /var/atlas-probe
|
WORKDIR /var/atlas-probe
|
||||||
VOLUME [ "/var/atlas-probe/etc", "/var/atlas-probe/status" ]
|
VOLUME [ "/var/atlas-probe/etc", "/var/atlas-probe/status" ]
|
||||||
|
|
||||||
ENTRYPOINT [ "entrypoint.sh" ]
|
ENTRYPOINT [ "tini", "--", "entrypoint.sh" ]
|
||||||
CMD [ "atlas" ]
|
CMD [ "atlas" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user