From 5b16526bc00e525c608f357430ce646e779662c2 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Thu, 10 Dec 2020 10:47:58 +0000 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 2 ++ 1 file changed, 2 insertions(+) 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