Skip to content

Commit

Permalink
devcontainer: Update base image from node:20-alpine to node:20-bookwo…
Browse files Browse the repository at this point in the history
…rm for slackbot and tunnel devcontainer setups
  • Loading branch information
hakatashi committed Oct 4, 2024
1 parent aaea3e4 commit 7cb925d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .devcontainer/slackbot/Dockerfile
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
6 changes: 3 additions & 3 deletions .devcontainer/tunnel/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:20-alpine
FROM node:20-bookworm
ARG HTTP_PROXY_TOKEN

RUN apk update && \
apk add git bash && \
RUN apt-get update -y && \
apt-get install git bash -y && \
git clone https://${HTTP_PROXY_TOKEN}@github.com/tsg-ut/http-local-fwd.git && \
cd http-local-fwd/local && \
npm install
Expand Down

0 comments on commit 7cb925d

Please sign in to comment.