From 57fdc360a6444f8eb7f2343ecd8323161841c271 Mon Sep 17 00:00:00 2001 From: halfwhole Date: Tue, 27 Aug 2024 18:17:18 +0800 Subject: [PATCH] build: fix link to ibm plex sans font --- .gitpod.Dockerfile | 4 ++-- Dockerfile | 2 +- Dockerfile.dev | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 7752c4db9..b88a4c49c 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -9,8 +9,8 @@ RUN sudo apt-get update \ RUN sudo mkdir -p /docker-entrypoint-initaws.d RUN sudo chown gitpod /docker-entrypoint-initaws.d -# Installs IBMPlexSans-Regular.ttf for QRCodeService. -RUN sudo wget https://github.com/IBM/plex/blob/master/IBM-Plex-Sans/fonts/complete/ttf/IBMPlexSans-Regular.ttf?raw=true -O /usr/share/fonts/truetype/IBMPlexSans-Regular.ttf +# Installs IBMPlexSans-Regular.otf for QRCodeService. +RUN sudo wget https://github.com/IBM/plex/blob/master/packages/plex-sans/fonts/complete/otf/IBMPlexSans-Regular.otf?raw=true -O /usr/share/fonts/truetype/IBMPlexSans-Regular.otf RUN sudo fc-cache -f USER gitpod diff --git a/Dockerfile b/Dockerfile index fa4eeb55d..7ac94b88c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ EXPOSE 3000 RUN apk update && apk add font-freefont && rm -rf /var/cache/apk/* # Installs IBMPlexSans-Regular.otf for QRCodeService. -RUN wget https://github.com/IBM/plex/blob/master/IBM-Plex-Sans/fonts/complete/otf/IBMPlexSans-Regular.otf?raw=true -O /usr/share/fonts/freefont/IBMPlexSans-Regular.otf +RUN wget https://github.com/IBM/plex/blob/master/packages/plex-sans/fonts/complete/otf/IBMPlexSans-Regular.otf?raw=true -O /usr/share/fonts/freefont/IBMPlexSans-Regular.otf RUN fc-cache -f # Install libraries diff --git a/Dockerfile.dev b/Dockerfile.dev index f866f7885..895ce2832 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -13,7 +13,7 @@ EXPOSE 3000 RUN apk update && apk add font-freefont && rm -rf /var/cache/apk/* # Installs IBMPlexSans-Regular.otf for QRCodeService. -RUN wget https://github.com/IBM/plex/blob/master/IBM-Plex-Sans/fonts/complete/otf/IBMPlexSans-Regular.otf?raw=true -O /usr/share/fonts/freefont/IBMPlexSans-Regular.otf +RUN wget https://github.com/IBM/plex/blob/master/packages/plex-sans/fonts/complete/otf/IBMPlexSans-Regular.otf?raw=true -O /usr/share/fonts/freefont/IBMPlexSans-Regular.otf RUN fc-cache -f # Install libraries