-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update hydrogen-alpine version (#6720)
* chore: update hydrogen-alpine version * chore: update hydrogen-alpine version * chore: update chromium and puppeteer versions to be compatible with alpine3.18 * chore: update node version on ci as 14 has reached eol * chore: add openssl-legacy-provider flag to ci before we upgrade to webpack5 * chore: reduce memory consumed by node as ci runner is running out of memory * chore: cache node modules directory so we run npm ci once and reuse for subsequent jobs * chore: set space to 4096 * chore: remove open-ssl flag * chore: add open-ssl flag * chore: increase swap file to prevent ci from failing * chore: increase space size to 8192 * increase space for backend test * chore: increase timeout for jest test * chore: increase jest timeout
- Loading branch information
1 parent
860aad7
commit 3531eac
Showing
5 changed files
with
1,018 additions
and
521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:hydrogen-alpine3.16 | ||
FROM node:hydrogen-alpine3.18 | ||
LABEL maintainer=FormSG<[email protected]> | ||
|
||
WORKDIR /opt/formsg | ||
|
@@ -28,7 +28,7 @@ RUN apk update && apk upgrade && \ | |
# that is guaranteed to work. Upgrades must be done in lockstep. | ||
# https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md#running-on-alpine | ||
# https://www.npmjs.com/package/puppeteer-core?activeTab=versions for corresponding versions | ||
chromium=102.0.5005.182-r0 \ | ||
chromium=115.0.5790.170-r0 \ | ||
nss \ | ||
freetype \ | ||
freetype-dev \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# syntax=docker/dockerfile:1 | ||
|
||
FROM node:hydrogen-alpine3.16 as build | ||
FROM node:hydrogen-alpine3.18 as build | ||
|
||
# node-modules-builder stage installs/compiles the node_modules folder | ||
# Python version must be specified starting in alpine3.12 | ||
|
@@ -60,7 +60,7 @@ RUN --mount=type=secret,id=dd_api_key \ | |
RUN npm prune --production --legacy-peer-deps | ||
|
||
# This stage builds the final container | ||
FROM node:hydrogen-alpine3.16 | ||
FROM node:hydrogen-alpine3.18 | ||
LABEL maintainer=FormSG<[email protected]> | ||
WORKDIR /opt/formsg | ||
|
||
|
@@ -81,7 +81,7 @@ RUN mv /opt/formsg/dist/backend/shared /opt/formsg/ | |
# https://www.npmjs.com/package/puppeteer-core?activeTab=versions for corresponding versions | ||
|
||
RUN apk add --no-cache \ | ||
chromium=102.0.5005.182-r0 \ | ||
chromium=115.0.5790.170-r0 \ | ||
nss \ | ||
freetype \ | ||
freetype-dev \ | ||
|
Oops, something went wrong.