diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile index 43308eba..bc5c489d 100644 --- a/ubuntu/Dockerfile +++ b/ubuntu/Dockerfile @@ -27,7 +27,7 @@ RUN set -ex; \ apt-get install -y --no-install-recommends curl ca-certificates \ && UBUNTU_CODENAME=$(cat /etc/os-release | grep UBUNTU_CODENAME | cut -d = -f 2) \ && curl -fL https://download.konghq.com/gateway-${KONG_VERSION%%.*}.x-ubuntu-${UBUNTU_CODENAME}/pool/all/k/kong/kong_${KONG_VERSION}_$arch.deb -o /tmp/kong.deb \ - && apt-get purge -y curl \ + && apt-get purge --autoremove -y curl \ && echo "$KONG_SHA256 /tmp/kong.deb" | sha256sum -c - \ || exit 1; \ else \