diff --git a/.drone.yml b/.drone.yml index 5837390..f33d78f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,6 +10,8 @@ steps: image: bv11-cr01.bessems.eu/proxy/alpine/git 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 - name: build & publish image: plugins/docker