-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devcontainer: Update base image from node:20-alpine to node:20-bookwo…
…rm for slackbot and tunnel devcontainer setups
- Loading branch information
Showing
2 changed files
with
8 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
FROM node:20-alpine | ||
FROM node:20-bookworm | ||
|
||
# Install build dependencies for node-canvas | ||
# https://github.com/Automattic/node-canvas/issues/2239#issuecomment-2005970772 | ||
RUN apk update && apk add build-base g++ cairo-dev pango-dev giflib-dev && \ | ||
apk add git bash | ||
# https://github.com/Automattic/node-canvas/wiki/Installation%3A-Ubuntu-and-other-Debian-based-systems | ||
RUN apt-get update -y && \ | ||
apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev -y && \ | ||
apt-get install git bash | ||
|
||
WORKDIR /code |
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