File tree Expand file tree Collapse file tree 4 files changed +22
-2
lines changed Expand file tree Collapse file tree 4 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,10 @@ FROM node:20-alpine3.22
44
55RUN apk add --no-cache \
66# add "bash" for "[["
7- bash
7+ bash \
8+ # install fontconfig for sharp
9+ # https://github.com/lovell/sharp/blob/v0.34.2/docs/src/content/docs/install.md#fonts
10+ fontconfig
811
912# grab gosu for easy step-down from root
1013# https://github.com/tianon/gosu/releases
Original file line number Diff line number Diff line change 22# https://github.com/nodejs/Release (looking for "LTS")
33FROM node:20-bookworm-slim
44
5+ RUN set -eux; \
6+ apt-get update; \
7+ # install fontconfig for sharp
8+ # https://github.com/lovell/sharp/blob/v0.34.2/docs/src/content/docs/install.md#fonts
9+ apt-get install -y fontconfig; \
10+ rm -rf /var/lib/apt/lists/*
11+
512# grab gosu for easy step-down from root
613# https://github.com/tianon/gosu/releases
714ENV GOSU_VERSION 1.19
Original file line number Diff line number Diff line change @@ -4,7 +4,10 @@ FROM node:22-alpine3.22
44
55RUN apk add --no-cache \
66# add "bash" for "[["
7- bash
7+ bash \
8+ # install fontconfig for sharp
9+ # https://github.com/lovell/sharp/blob/v0.34.2/docs/src/content/docs/install.md#fonts
10+ fontconfig
811
912# grab gosu for easy step-down from root
1013# https://github.com/tianon/gosu/releases
Original file line number Diff line number Diff line change 22# https://github.com/nodejs/Release (looking for "LTS")
33FROM node:22-bookworm-slim
44
5+ RUN set -eux; \
6+ apt-get update; \
7+ # install fontconfig for sharp
8+ # https://github.com/lovell/sharp/blob/v0.34.2/docs/src/content/docs/install.md#fonts
9+ apt-get install -y fontconfig; \
10+ rm -rf /var/lib/apt/lists/*
11+
512# grab gosu for easy step-down from root
613# https://github.com/tianon/gosu/releases
714ENV GOSU_VERSION 1.19
You can’t perform that action at this time.
0 commit comments