dockerimg: add commonly requested packages to Dockerfile.base and enable :latest tagging
Add commonly requested packages to the Sketch Docker base image based on user installation
patterns, and update pushdockerimg.go to also tag images with :latest for easier access.
Co-Authored-By: sketch <hello@sketch.dev>
Change-ID: sd9eedb6795403819k
diff --git a/dockerimg/testdata/testcreatedockerfile_python_misery.dockerfile b/dockerimg/testdata/testcreatedockerfile_python_misery.dockerfile
index d7fe8df..6345303 100644
--- a/dockerimg/testdata/testcreatedockerfile_python_misery.dockerfile
+++ b/dockerimg/testdata/testcreatedockerfile_python_misery.dockerfile
@@ -1,4 +1,4 @@
-FROM ghcr.io/boldsoftware/sketch:741e5a2d5a35c7fb3282a265bdd0cf24
+FROM ghcr.io/boldsoftware/sketch:82c32883426c519eada7250c0017e6b7
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="8811aa2b5e5632d5cbab838f2f9f963276d5689f5b4b3f33953594c68553f79a"
+LABEL sketch_context="be15efa1d150735bb7ebd1cd8d9dee577f7bbad44e540822deb20a57988cbe1f"
COPY . /app
RUN rm -f /app/tmp-sketch-dockerfile
@@ -17,10 +17,12 @@
# 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 && \
+RUN apt-get update && apt-get install -y --no-install-recommends \
+ python3.11 python3.11-dev python3.11-venv python3-pip-whl || true && \
apt-get clean && rm -rf /var/lib/apt/lists/* || true
-RUN python3.11 -m pip install --upgrade pip dvc || true
+RUN python3.11 -m pip install --upgrade pip setuptools wheel || true
+RUN python3.11 -m pip install dvc || true
# Switch back to strict shell after extra_cmds.
SHELL ["/bin/bash", "-euxo", "pipefail", "-c"]