dockerimg: add emoji fonts to base image
Add emoji font packages to the Docker base image to support
emoji rendering in browser screenshots:
- fonts-noto-color-emoji: Color emoji font from Google
- fonts-symbola: Symbolic font with Unicode 9.0 emoji characters
- fc-cache -f -v: Force font cache refresh
This follows the typical Ubuntu emoji font installation pattern:
apt-get install -y fonts-noto-color-emoji && fc-cache -f -v
Co-Authored-By: sketch <hello@sketch.dev>
Change-ID: sea5a1179c771a14bk
diff --git a/dockerimg/testdata/testcreatedockerfile_python_misery.dockerfile b/dockerimg/testdata/testcreatedockerfile_python_misery.dockerfile
index 38073d3..dfb14a1 100644
--- a/dockerimg/testdata/testcreatedockerfile_python_misery.dockerfile
+++ b/dockerimg/testdata/testcreatedockerfile_python_misery.dockerfile
@@ -1,4 +1,4 @@
-FROM ghcr.io/boldsoftware/sketch:a73fec46b81f26cba546a2f4c44ff381
+FROM ghcr.io/boldsoftware/sketch:8a0fa60d74a8342c828aaec2c6d25bf3
ARG GIT_USER_EMAIL
ARG GIT_USER_NAME
@@ -7,7 +7,7 @@
git config --global user.name "$GIT_USER_NAME" && \
git config --global http.postBuffer 524288000
-LABEL sketch_context="1d1c9c1f11f73ce13926ecb7fd8d24b37aae41a512a3a8e181fb4edbea523931"
+LABEL sketch_context="9e2e88b559df3656b9b50664cd435a00d410a76c08f0c4ec9a6d01a767435d51"
COPY . /app
RUN rm -f /app/tmp-sketch-dockerfile
@@ -17,8 +17,9 @@
# Switch to lenient shell so we are more likely to get past failing extra_cmds.
SHELL ["/bin/bash", "-uo", "pipefail", "-c"]
-RUN apt-get update && apt-get install -y --no-install-recommends python3.11 python3.11-pip python3.11-venv || true && apt-get clean && rm -rf /var/lib/apt/lists/*
-RUN python3.11 -m pip install --no-cache-dir dvc || true
+RUN apt-get update && apt-get install -y --no-install-recommends python3.11 python3.11-venv python3-pip || true && apt-get clean && rm -rf /var/lib/apt/lists/*
+RUN python3.11 -m pip install --upgrade pip || true
+RUN python3.11 -m pip install dvc || true
# Switch back to strict shell after extra_cmds.
SHELL ["/bin/bash", "-euxo", "pipefail", "-c"]