-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (25 loc) · 735 Bytes
/
Dockerfile
File metadata and controls
32 lines (25 loc) · 735 Bytes
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
From lsiobase/alpine:3.20
ARG mmonit_version
ARG mmonit_os=alpine
ARG mmonit_architecture=x64
ARG mmonit_url=https://mmonit.com/dist/mmonit-${mmonit_version}-${mmonit_os}-${mmonit_architecture}.tar.gz
ENV \
MMONIT_VERSION=$mmonit_version \
MMONIT_OS=$mmonit_os \
MMONIT_DATABASE_URL= \
MMONIT_LICENSE_OWNER= \
MMONIT_LICENSE_KEY= \
MMONIT_LIMIT_FD=4096 \
MMONIT_TLS_VERSION= \
TZ=UTC
WORKDIR /opt
# Set up
RUN \
echo "*** install utilities needed ****" && \
apk add --no-cache dpkg logrotate rsync xmlstarlet && \
echo "*** install M/Monit ***" && \
curl -o - "${mmonit_url}" | tar -xzf -
# Add configuration files
COPY root /
EXPOSE 8080
VOLUME /config