added docker cron image build environment

This commit is contained in:
2023-04-07 13:31:17 +02:00
parent 969368d68d
commit c5d8693902
6 changed files with 74 additions and 1 deletions

15
dockerfile Normal file
View File

@@ -0,0 +1,15 @@
# Copyright (c) 2023 · Bryan Joshua Pedini
# LICENSE = gpl3
# see the LICENSE file for more details
ARG DISTRO
FROM alpine:${DISTRO}
ARG VERSION
LABEL maintainer="Bryan Joshua Pedini <b.pedini@bjphoster.com>"
LABEL version="${VERSION}"
COPY crontab /crontab/root
COPY docker-entrypoint.sh /docker-entrypoint.sh
ENTRYPOINT [ "/docker-entrypoint.sh" ]