sentinel/Dockerfile
2021-03-06 11:07:57 -05:00

19 lines
457 B
Docker

## Sentinel
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"]
COPY ./bin/sentinel sentinel
RUN chmod +x ./sentinel
EXPOSE 6060
STOPSIGNAL SIGINT
CMD ./sentinel