From 12bdcad0aee426614d852c76d9f807bde223b776 Mon Sep 17 00:00:00 2001 From: AriaieBOY Date: Sun, 1 Oct 2023 10:05:37 +0330 Subject: [PATCH] Update DockerfileAlpine --- runtimes/8.2/DockerfileAlpine | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runtimes/8.2/DockerfileAlpine b/runtimes/8.2/DockerfileAlpine index 788e719..3b81255 100644 --- a/runtimes/8.2/DockerfileAlpine +++ b/runtimes/8.2/DockerfileAlpine @@ -1,5 +1,5 @@ ARG NODE_VERSION -ARG POSTGRES_VERSION=15 +ARG POSTGRES_VERSION=16 FROM node:${NODE_VERSION}-alpine AS node @@ -24,7 +24,9 @@ COPY --from=node /usr/local/bin /usr/local/bin RUN npm install -g npm \ && npm install -g pnpm svgo \ - && apk add --update supervisor postgresql${POSTGRES_VERSION}-client jpegoptim optipng pngquant gifsicle libpng-dev && rm -rf /tmp/* /var/cache/apk/* + && apk add --update supervisor jpegoptim optipng pngquant gifsicle libpng-dev && rm -rf /tmp/* /var/cache/apk/* +RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing \ + postgresql${POSTGRES_VERSION}-client RUN adduser -D sail