Update '.drone.yml'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2020-12-10 10:50:00 +00:00
parent 5b16526bc0
commit cc9ff1d036

View File

@ -11,7 +11,7 @@ steps:
commands:
- git clone https://mau.dev/tulir/mautrix-whatsapp.git .
# Inject 'apk upgrade' and removal of apk-cache into Dockerfile
- sed -e 's|apk add --no-cache .*|apk upgrade --update-cache --available \&\& \\\n & \&\& \\\n rm -rf /var/lib/apt/lists/* \&\& \\\n rm /var/cache/apk/*|g' -i ./Dockerfile
- sed -e 's|apk add --no-cache .*|apk upgrade --update-cache --available \&\& & \&\& rm -rf /var/lib/apt/lists/* \&\& rm /var/cache/apk/*|g' -i ./Dockerfile
- name: build & publish
image: plugins/docker