You've already forked dockercron
added docker dockercron image build environment
This commit is contained in:
18
dockerfile
Normal file
18
dockerfile
Normal 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
|
Reference in New Issue
Block a user