diff --git a/docker/debian-base.dockerfile b/docker/debian-base.dockerfile index e7c51ded40e..dc7787d2f40 100644 --- a/docker/debian-base.dockerfile +++ b/docker/debian-base.dockerfile @@ -1,6 +1,4 @@ -# DON'T UPDATE TO node:14-bullseye-slim, see #372. -# If the image changed, the second stage image should be changed too -FROM node:16-buster-slim +FROM node:18-bullseye-slim ARG TARGETPLATFORM WORKDIR /app @@ -15,6 +13,8 @@ RUN apt update && \ rm -rf /var/lib/apt/lists/* && \ apt --yes autoremove +RUN npm install -g npm + # Install cloudflared # dpkg --add-architecture arm: cloudflared do not provide armhf, this is workaround. Read more: https://github.com/cloudflare/cloudflared/issues/583 COPY extra/download-cloudflared.js ./extra/download-cloudflared.js