-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
35 lines (29 loc) · 863 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM alpine:latest
LABEL maintainer="docker@doowan.net"
RUN apk -Uuv add autoconf \
automake \
bash \
cargo \
curl \
curl-dev \
gcc \
libffi-dev \
libmagic \
libtool \
linux-headers \
libressl-dev \
make \
musl-dev \
python3 \
python3-dev \
py3-curl \
py3-openssl \
py3-pip && \
find /var/cache/apk/ -type f -delete
RUN pip3 install covenant
ADD docker-run.sh /run.sh
ADD etc/covenant/metrics.d /etc/covenant/metrics.d
ADD etc/covenant/modules /etc/covenant/modules
ADD etc/covenant/probes.d /etc/covenant/probes.d
EXPOSE 9118/tcp
CMD ["/run.sh"]