Merge branch 'feature/add-monit-5.27.0' into develop
This commit is contained in:
commit
dd10b44ae7
@ -1,16 +1,15 @@
|
|||||||
FROM alpine:3.8
|
FROM alpine:3.8
|
||||||
|
|
||||||
LABEL maintainer="Luis Miguel Vicente Fuentes <kijart@gmail.com>"
|
LABEL maintainer="Luis Miguel Vicente Fuentes"
|
||||||
|
|
||||||
# monit environment variables
|
# monit environment variables
|
||||||
ENV MONIT_VERSION=5.26.0 \
|
ENV MONIT_VERSION=5.27.0 \
|
||||||
MONIT_HOME=/opt/monit \
|
MONIT_HOME=/opt/monit \
|
||||||
MONIT_URL=https://mmonit.com/monit/dist \
|
MONIT_URL=https://mmonit.com/monit/dist \
|
||||||
PATH=$PATH:/opt/monit/bin
|
PATH=$PATH:/opt/monit/bin
|
||||||
|
|
||||||
# Compile and install monit
|
# compile and install monit
|
||||||
RUN \
|
RUN \
|
||||||
echo "*** compile and install monit ***" && \
|
|
||||||
apk add --update gcc musl-dev make libressl-dev file zlib-dev && \
|
apk add --update gcc musl-dev make libressl-dev file zlib-dev && \
|
||||||
mkdir -p /opt/src; cd /opt/src && \
|
mkdir -p /opt/src; cd /opt/src && \
|
||||||
wget -qO- ${MONIT_URL}/monit-${MONIT_VERSION}.tar.gz | tar xz && \
|
wget -qO- ${MONIT_URL}/monit-${MONIT_VERSION}.tar.gz | tar xz && \
|
||||||
|
Loading…
Reference in New Issue
Block a user