From c641af6b6bad9694185064f673a61a4182c235fa Mon Sep 17 00:00:00 2001 From: Devin Ivy Date: Mon, 18 Dec 2023 11:52:03 -0500 Subject: [PATCH 1/3] pin alpine version temporarily for pds docker build --- services/pds/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/pds/Dockerfile b/services/pds/Dockerfile index c108df56ddd..975ad623e57 100644 --- a/services/pds/Dockerfile +++ b/services/pds/Dockerfile @@ -1,4 +1,5 @@ -FROM node:18-alpine as build +# @NOTE just a temp fix: alpine3.19 breaks sharp install, see nodejs/docker-node#2009 +FROM node:18-alpine3.18 as build RUN npm install -g pnpm From 0b005355abb5a8d57df875bca569c0275452bac3 Mon Sep 17 00:00:00 2001 From: Devin Ivy Date: Mon, 18 Dec 2023 12:13:23 -0500 Subject: [PATCH 2/3] fix --- services/pds/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/pds/Dockerfile b/services/pds/Dockerfile index 975ad623e57..0c60f058bce 100644 --- a/services/pds/Dockerfile +++ b/services/pds/Dockerfile @@ -36,7 +36,7 @@ RUN pnpm install --prod --shamefully-hoist --frozen-lockfile --prefer-offline > WORKDIR services/pds # Uses assets from build stage to reduce build size -FROM node:18-alpine +FROM node:18-alpine3.18 RUN apk add --update dumb-init From a2399019cff2e1f5885bb13bea82ce2cc030de77 Mon Sep 17 00:00:00 2001 From: Devin Ivy Date: Mon, 18 Dec 2023 12:14:06 -0500 Subject: [PATCH 3/3] add note --- services/pds/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/services/pds/Dockerfile b/services/pds/Dockerfile index 0c60f058bce..6d092bb5229 100644 --- a/services/pds/Dockerfile +++ b/services/pds/Dockerfile @@ -1,4 +1,5 @@ # @NOTE just a temp fix: alpine3.19 breaks sharp install, see nodejs/docker-node#2009 +# see additional reference to this image further down. FROM node:18-alpine3.18 as build RUN npm install -g pnpm