Debug CI by leaving images alive

This commit is contained in:
Jamie Curnow 2020-05-28 13:26:36 +10:00
parent e0ef8683a2
commit 98068c0f57
2 changed files with 1 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -192,7 +192,7 @@ pipeline {
} }
post { post {
always { always {
sh 'docker-compose down --rmi all --remove-orphans --volumes -t 30' //sh 'docker-compose down --rmi all --remove-orphans --volumes -t 30'
sh 'echo Reverting ownership' sh 'echo Reverting ownership'
sh 'docker run --rm -v $(pwd):/data ${DOCKER_CI_TOOLS} chown -R $(id -u):$(id -g) /data' sh 'docker run --rm -v $(pwd):/data ${DOCKER_CI_TOOLS} chown -R $(id -u):$(id -g) /data'
} }

View File

@ -6,7 +6,6 @@ ENV SUPPRESS_NO_CONFIG_WARNING=1
ENV S6_FIX_ATTRS_HIDDEN=1 ENV S6_FIX_ATTRS_HIDDEN=1
RUN echo "fs.file-max = 65535" > /etc/sysctl.conf \ RUN echo "fs.file-max = 65535" > /etc/sysctl.conf \
&& rm -rf /etc/nginx \
&& apk update \ && apk update \
&& apk add python2 certbot jq \ && apk add python2 certbot jq \
&& rm -rf /var/cache/apk/* && rm -rf /var/cache/apk/*