Skip to content

Commit 92e288c

Browse files
committed
add catatonit as init process
1 parent a234d17 commit 92e288c

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

Dockerfile

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ARG COREUTILS_VERSION=9.5-r1
2222
ARG GETTEXT_VERSION=0.22.5-r0
2323

2424
# renovate: datasource=repology depName=alpine_3_20/openssl
25-
ARG OPENSSL_VERSION=3.3.2-r0
25+
ARG OPENSSL_VERSION=3.3.2-r1
2626

2727
# renovate: datasource=repology depName=alpine_3_20/xmlstarlet
2828
ARG XMLSTARLET_VERSION=1.6.1-r2
@@ -36,6 +36,9 @@ ARG BIND_TOOLS_VERSION=9.18.27-r0
3636
# renovate: datasource=repology depName=alpine_3_20/inetutils-telnet
3737
ARG INETUTILS_VERSION=2.5-r0
3838

39+
# renovate: datasource=github-tags depName=openSUSE/catatonit extractVersion=^v(?<version>.*)$
40+
ARG CATATONIT_VERSION=0.2.0
41+
3942
RUN apk add --no-cache \
4043
bash==${BASH_VERSION} \
4144
curl==${CURL_VERSION} \
@@ -50,5 +53,14 @@ RUN apk add --no-cache \
5053
inetutils-telnet==${INETUTILS_VERSION} \
5154
&& rm -rf /var/cache/apk/*
5255

56+
# download and install yq from GitHub
5357
RUN wget -O /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_linux_amd64 && \
5458
chmod +x /usr/local/bin/yq
59+
60+
# download and install catatonit from GitHub
61+
ADD https://github.com/openSUSE/catatonit/releases/download/v${CATATONIT_VERSION}/catatonit.x86_64 /usr/bin/catatonit
62+
RUN chmod +x /usr/bin/catatonit
63+
64+
ENTRYPOINT ["/usr/bin/catatonit", "--"]
65+
CMD [ "-P" ]
66+

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ alpine linux (3.20.0) with following components:
44

55
- bash (5.2.26-r0)
66
- bind-tools (9.18.24-r1)
7+
- catatonit (v0.2.0)
78
- coreutils (9.5-r1)
89
- curl (8.10.1-r0)
910
- gettext (0.22.5-r0)

0 commit comments

Comments
 (0)