Skip to content

Commit

Permalink
Pin alpine version temporarily for pds docker build (#1976)
Browse files Browse the repository at this point in the history
* pin alpine version temporarily for pds docker build

* fix

* add note
  • Loading branch information
devinivy authored Dec 29, 2023
1 parent a2a07f1 commit 2860951
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions services/pds/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM node:18-alpine as build
# @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

Expand Down Expand Up @@ -35,7 +37,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

Expand Down

0 comments on commit 2860951

Please sign in to comment.