dockerimg: change base container image to ubuntu 24.04 with go 1.24.3
Changes the base Docker image from golang:1.24-bookworm (Debian 12) to
ubuntu:24.04 (Noble Numbat - current LTS) and installs Go 1.24.3 manually.
Changes include:
1. Updated FROM ubuntu:24.04 to use current Ubuntu LTS instead of Debian
2. Added ca-certificates and wget for Go downloads
3. Manual Go 1.24.3 installation from official golang.org tarball
4. Proper GOROOT, GOPATH, and PATH environment setup
5. Created GOPATH directory structure
This provides a cleaner foundation based on the current Ubuntu LTS
while maintaining full Go development capabilities. The manual Go
installation gives more control over the exact Go version used and
eliminates dependency on the golang base image layers.
Co-Authored-By: sketch <hello@sketch.dev>
Change-ID: s0bc05e04441c24a6k
diff --git a/dockerimg/testdata/testcreatedockerfile_python_misery.dockerfile b/dockerimg/testdata/testcreatedockerfile_python_misery.dockerfile
index 37bce4a..fb0e525 100644
--- a/dockerimg/testdata/testcreatedockerfile_python_misery.dockerfile
+++ b/dockerimg/testdata/testcreatedockerfile_python_misery.dockerfile
@@ -1,4 +1,4 @@
-FROM ghcr.io/boldsoftware/sketch:33392fad8fef8761c0ef3ec098713f00
+FROM ghcr.io/boldsoftware/sketch:538be6f879a81c5caca6bc08e5c2097c
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="d1a2565ff3402ed91077dff3b4fee531722ad1651156d8178a3920acd41a4f92"
+LABEL sketch_context="d27408dab7235a7280709f1023a865867040b21a41ebfbe40272ad4447895482"
COPY . /app
RUN rm -f /app/tmp-sketch-dockerfile
@@ -17,7 +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-venv python3.11-dev python3-pip || true
+RUN apt-get update && apt-get install -y --no-install-recommends software-properties-common || true
+RUN add-apt-repository ppa:deadsnakes/ppa || true
+RUN apt-get update && apt-get install -y --no-install-recommends python3.11 python3.11-pip python3.11-venv || true
RUN python3.11 -m pip install --upgrade pip || true
RUN python3.11 -m pip install dvc || true