2021-03-06 17:07:57 +01:00
|
|
|
## Sentinel
|
2021-03-04 08:15:53 +01:00
|
|
|
FROM ubuntu:18.04
|
|
|
|
LABEL MAINTAINER="beamer"
|
|
|
|
|
|
|
|
RUN export DEBIAN_FRONTEND=noninteractive && \
|
|
|
|
apt-get update && \
|
|
|
|
apt-get -yq install apt-utils tzdata wait-for-it ca-certificates && \
|
|
|
|
apt-get autoclean -y && \
|
|
|
|
update-ca-certificates && \
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
WORKDIR /usr/bin
|
|
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
2021-03-06 17:07:57 +01:00
|
|
|
COPY ./bin/sentinel sentinel
|
|
|
|
RUN chmod +x ./sentinel
|
2021-03-04 08:15:53 +01:00
|
|
|
|
|
|
|
EXPOSE 6060
|
|
|
|
STOPSIGNAL SIGINT
|
2021-03-06 17:07:57 +01:00
|
|
|
CMD ./sentinel
|