dockercron/dockerfile

19 lines
607 B
Plaintext
Raw Normal View History

# 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