diff --git a/Dockerfile b/Dockerfile index 384762c..bf91eb1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM stakater/base-alpine:3.7 +FROM stakater/base-alpine:3.11 -ARG LOGROTATE_VERSION=3.13.0-r0 -ENV CRON_SCHEDULE="0 0 * * * *" +ARG LOGROTATE_VERSION=3.15.1-r0 +ENV CRON_SCHEDULE="0 0 * * *" RUN apk --update add "logrotate=${LOGROTATE_VERSION}" RUN echo "${CRON_SCHEDULE} /usr/sbin/logrotate -v /etc/logrotate.conf" >> /etc/crontabs/root && \ mkdir -p /etc/logrotate.d @@ -9,4 +9,4 @@ RUN echo "${CRON_SCHEDULE} /usr/sbin/logrotate -v /etc/logrotate.conf" >> /etc/c ADD logrotate.conf /etc/logrotate.conf ENTRYPOINT [ ] -CMD ["crond", "-f"] \ No newline at end of file +CMD ["crond", "-f"] diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..ce24590 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,7 @@ +#!/usr/bin/env groovy +@Library('github.com/stakater/stakater-pipeline-library@v2.16.27') _ + +pushDockerImage { + dockerRepositoryURL = "docker.io" + imagePrefix = "3.15.1" +} \ No newline at end of file