added docker dockercron image build environment

This commit is contained in:
bryanpedini committed 2023-04-07 13:32:46 +02:00
1 parent b69a9bca15
commit e82563bf3c
6 files changed
+82 -1

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
# Copyright (c) 2023 · Bryan Joshua Pedini
# LICENSE = gpl3
# see the LICENSE file for more details
ARG CRONVERSION
ARG DISTRO
FROM bryanpedini/cron:${CRONVERSION}-alpine${DISTRO}
ARG VERSION
LABEL maintainer="Bryan Joshua Pedini <b.pedini@bjphoster.com>"
LABEL version="1.0"
ARG COMPOSEVERSION
RUN apk add docker && \
mkdir -p /usr/local/lib/docker/cli-plugins && \
wget -O /usr/local/lib/docker/cli-plugins/docker-compose \
https://github.com/docker/compose/releases/download/${COMPOSEVERSION}/docker-compose-linux-x86_64 && \
chmod +x /usr/local/lib/docker/cli-plugins/docker-compose