added docker dockercron image build environment

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

18
dockerfile Normal file
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