Skip to content

Commit 1c5ad3e

Browse files
authored
Merge pull request #8 from linuxserver-labs/3.17
2 parents 65f1717 + 88f13fc commit 1c5ad3e

File tree

19 files changed

+356
-38
lines changed

19 files changed

+356
-38
lines changed

.github/workflows/call-baseimage-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
repo_owner: ${{ github.repository_owner }}
1313
app_name: "monit"
1414
baseimage: "alpine"
15-
basebranch: "3.15"
15+
basebranch: "3.17"
1616
secrets:
1717
repo_release_token: ${{ secrets.repo_release_token }}

.github/workflows/call-build-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
repo_owner: ${{ github.repository_owner }}
1313
app_name: "monit"
1414
release_type: "alpine"
15-
release_url: "v3.15/main"
15+
release_url: "v3.17/main"
1616
release_name: "monit"
1717
target-arch: "all"
1818
secrets:

.github/workflows/call-check-and-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
repo_owner: ${{ github.repository_owner }}
1313
app_name: "monit"
1414
release_type: "alpine"
15-
release_url: "v3.15/main"
15+
release_url: "v3.17/main"
1616
release_name: "monit"
1717
secrets:
1818
repo_release_token: ${{ secrets.repo_release_token }}

Dockerfile

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM ghcr.io/linuxserver/baseimage-alpine:3.15
1+
# syntax=docker/dockerfile:1
2+
3+
FROM ghcr.io/linuxserver/baseimage-alpine:3.17
24

35
# set version label
46
ARG BUILD_DATE
@@ -13,24 +15,24 @@ RUN \
1315
gcc \
1416
musl-dev \
1517
python3-dev \
16-
py3-wheel \
1718
libffi-dev \
1819
openssl-dev \
1920
cargo && \
2021
apk add -U --upgrade --no-cache \
21-
bash \
22-
curl \
2322
python3 \
2423
py3-pip && \
2524
echo "**** install monit ****" && \
2625
if [ -z ${APP_VERSION+x} ]; then \
27-
APP_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
26+
APP_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
2827
&& awk '/^P:'"monit"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
2928
fi && \
3029
apk add -U --upgrade --no-cache \
3130
monit==${APP_VERSION} && \
32-
python3 -m pip install --upgrade pip && \
33-
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine/ \
31+
python3 -m ensurepip && \
32+
pip3 install -U --no-cache-dir \
33+
pip \
34+
wheel && \
35+
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.17/ \
3436
apprise && \
3537
apk del --purge \
3638
build-dependencies && \
@@ -43,4 +45,4 @@ COPY root/ /
4345

4446
EXPOSE 2812
4547

46-
VOLUME /config
48+
VOLUME /config

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ Find us at:
3636
[![GitHub Release](https://img.shields.io/github/release/linuxserver-labs/docker-monit.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver-labs/docker-monit/releases)
3737
[![GitHub Package Repository](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitHub%20Package&logo=github)](https://github.com/linuxserver-labs/docker-monit/packages)
3838

39-
[monit](https://www.monit.com/products/open-source-log-management/) is a small Open Source utility for managing and monitoring Unix systems.
40-
41-
[![monit](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/monit-logo.png)](https://www.monit.com/products/open-source-log-management/)
39+
[monit](https://mmonit.com/monit/#about) is a small Open Source utility for managing and monitoring Unix systems.
4240

4341
## Supported Architectures
4442

@@ -62,7 +60,7 @@ Edit `/config/monitrc` to add services to monitor. Use `then exec "/config/monit
6260

6361
Edit `/config/monit2apprise.sh` to customise the alert message.
6462

65-
More info at [monit](https://mmonit.com/monit/).
63+
More info at [monit](https://mmonit.com/monit/#documentation).
6664

6765
## Usage
6866

@@ -226,5 +224,6 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
226224

227225
## Versions
228226

227+
* **12.01.23:** - Rebase to Alpine 3.17, migrate to s6v3.
229228
* **10.01.22:** - Rebase to Alpine 3.15.
230229
* **20.10.21:** - Initial release.

0 commit comments

Comments
 (0)