mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-17 13:58:19 +00:00
add watchdog image
This commit is contained in:
1
watchdog/.version
Normal file
1
watchdog/.version
Normal file
@ -0,0 +1 @@
|
||||
VERSION=5.15-2
|
8
watchdog/Dockerfile
Normal file
8
watchdog/Dockerfile
Normal file
@ -0,0 +1,8 @@
|
||||
FROM debian:buster-20200803-slim
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
ARG VERSION
|
||||
RUN apt update -qq && \
|
||||
apt install -qqy --no-install-recommends watchdog=$VERSION && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENTRYPOINT ["/usr/sbin/watchdog", "-F"]
|
13
watchdog/Makefile
Normal file
13
watchdog/Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
include watchdog/.version
|
||||
|
||||
watchdog-nopush:
|
||||
docker buildx build --platform linux/amd64 --load \
|
||||
--build-arg MC_VERSION=$(VERSION) \
|
||||
--tag alemairebe/watchdog:$(VERSION) watchdog
|
||||
|
||||
watchdog:
|
||||
docker buildx build --platform linux/amd64,linux/arm64,linux/arm,linux/ppc64le --push \
|
||||
--build-arg MC_VERSION=$(VERSION) \
|
||||
--cache-from=type=registry,ref=alemairebe/watchdog \
|
||||
--cache-to=type=registry,ref=alemairebe/watchdog \
|
||||
--tag alemairebe/watchdog:$(VERSION) watchdog
|
Reference in New Issue
Block a user