remove deletion since we have --no-cache

This commit is contained in:
Brad Rydzewski 2017-09-27 19:04:58 -07:00
parent 243a2d0837
commit ca8a00ecd5
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
FROM alpine:3.6 FROM alpine:3.6
RUN apk add -U --no-cache ca-certificates && rm -rf /var/cache/apk/* RUN apk add -U --no-cache ca-certificates
ENV GODEBUG=netdns=go ENV GODEBUG=netdns=go
ADD release/drone-agent /bin/ ADD release/drone-agent /bin/

View file

@ -1,7 +1,7 @@
FROM alpine:3.6 FROM alpine:3.6
EXPOSE 8000 9000 80 443 EXPOSE 8000 9000 80 443
RUN apk add -U --no-cache ca-certificates && rm -rf /var/cache/apk/* RUN apk add -U --no-cache ca-certificates
ENV DATABASE_DRIVER=sqlite3 ENV DATABASE_DRIVER=sqlite3
ENV DATABASE_CONFIG=/var/lib/drone/drone.sqlite ENV DATABASE_CONFIG=/var/lib/drone/drone.sqlite