cc-core-cli 1.0.115 → 1.0.116

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-core-cli",
3
- "version": "1.0.115",
3
+ "version": "1.0.116",
4
4
  "description": "Command Line Interface tool for generating project templates for the (Your Platform's Name) platform.",
5
5
  "main": "bin/index.js",
6
6
  "scripts": {
@@ -25,7 +25,24 @@ ENV NODE_ENV=${NODE_ENV}\
25
25
  RUN apk update && apk add --no-cache chromium
26
26
  RUN apk update && apk upgrade -U -a --ignore alpine-baselayout
27
27
  RUN apk add --no-cache build-base g++ cairo-dev jpeg-dev pango-dev giflib-dev
28
- RUN apk add --update --repository http://dl-3.alpinelinux.org/alpine/edge/testing libmount ttf-dejavu ttf-droid ttf-freefont ttf-liberation fontconfig
28
+ RUN apk add --update --repository http://dl-3.alpinelinux.org/alpine/edge/testing libmount ttf-dejavu ttf-droid ttf-freefont ttf-liberation fontconfig wget
29
+ RUN mkdir -p /usr/share/fonts/truetype/sarabun
30
+
31
+ # Download the Sarabun fonts and install them
32
+ RUN wget -q -O /usr/share/fonts/truetype/sarabun/Sarabun-Regular.ttf \
33
+ https://github.com/google/fonts/raw/main/ofl/sarabun/Sarabun-Regular.ttf && \
34
+ wget -q -O /usr/share/fonts/truetype/sarabun/Sarabun-Bold.ttf \
35
+ https://github.com/google/fonts/raw/main/ofl/sarabun/Sarabun-Bold.ttf && \
36
+ wget -q -O /usr/share/fonts/truetype/sarabun/Sarabun-Italic.ttf \
37
+ https://github.com/google/fonts/raw/main/ofl/sarabun/Sarabun-Italic.ttf && \
38
+ wget -q -O /usr/share/fonts/truetype/sarabun/Sarabun-BoldItalic.ttf \
39
+ https://github.com/google/fonts/raw/main/ofl/sarabun/Sarabun-BoldItalic.ttf
40
+
41
+ # Update font cache
42
+ RUN fc-cache -f -v
43
+
44
+ # Verify if Sarabun font was installed (for debugging)
45
+ RUN fc-list | grep "Sarabun"
29
46
 
30
47
  WORKDIR /usr/src/app
31
48
  COPY package.json .