-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docker): use node:18-slim base image (#728)
* chore(ci): build Docker platforms separately * chore(docker): use node:18-slim base image Use latest pnpm version. Remove Docker build action timeouts. * chore(docs): update README setup instructions * chore(ci): consolidate docker workflows * chore(ci): exclude arm64 Docker builds for pull requests * chore(docker): specify base image minor and patch version
- Loading branch information
1 parent
e518e2c
commit 21d3fe4
Showing
11 changed files
with
37 additions
and
83 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
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,12 +1,13 @@ | ||
FROM node:16.17.1-slim as builder | ||
FROM node:18.13.0-slim as builder | ||
|
||
WORKDIR /workspace | ||
|
||
RUN apt update | ||
RUN apt install -y curl xz-utils python3 build-essential | ||
|
||
# version in curl is not the version used. Dependent on the last command | ||
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global [email protected] | ||
RUN corepack enable | ||
RUN corepack prepare [email protected] --activate | ||
|
||
# pnpm fetch does require only lockfile | ||
COPY pnpm-lock.yaml ./ | ||
|
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,12 +1,13 @@ | ||
FROM node:16.17.1-slim as builder | ||
FROM node:18.13.0-slim as builder | ||
|
||
WORKDIR /workspace | ||
|
||
RUN apt update | ||
RUN apt install -y curl xz-utils python3 build-essential | ||
|
||
# version in curl is not the version used. Dependent on the last command | ||
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global [email protected] | ||
RUN corepack enable | ||
RUN corepack prepare [email protected] --activate | ||
|
||
# pnpm fetch does require only lockfile | ||
COPY pnpm-lock.yaml ./ | ||
|
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,12 +1,13 @@ | ||
FROM node:16.17.1-slim as builder | ||
FROM node:18.13.0-slim as builder | ||
|
||
WORKDIR /workspace | ||
|
||
RUN apt update | ||
RUN apt install -y curl xz-utils python3 build-essential | ||
|
||
# version in curl is not the version used. Dependent on the last command | ||
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global [email protected] | ||
RUN corepack enable | ||
RUN corepack prepare [email protected] --activate | ||
|
||
# pnpm fetch does require only lockfile | ||
COPY pnpm-lock.yaml ./ | ||
|
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,12 +1,13 @@ | ||
FROM node:16-slim as builder | ||
FROM node:18.13.0-slim as builder | ||
|
||
WORKDIR /workspace | ||
|
||
RUN apt update | ||
RUN apt install -y curl xz-utils python3 build-essential | ||
|
||
# version in curl is not the version used. Dependent on the last command | ||
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global [email protected] | ||
RUN corepack enable | ||
RUN corepack prepare [email protected] --activate | ||
|
||
# pnpm fetch does require only lockfile | ||
COPY pnpm-lock.yaml ./ | ||
|
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 |
---|---|---|
|
@@ -31,6 +31,6 @@ | |
"typescript": "^4.9.4" | ||
}, | ||
"engines": { | ||
"node": "16 || 18" | ||
"node": "18" | ||
} | ||
} |