dockerimg: use a default image from a public registry
If the LLM chooses our default alpine Go image, we save some
work by instead starting from a sketch docker image pushed
to ghcr.io.
diff --git a/dockerimg/testdata/testcreatedockerfile_empty_repo.dockerfile b/dockerimg/testdata/testcreatedockerfile_empty_repo.dockerfile
index 150bb76..b4ac299 100644
--- a/dockerimg/testdata/testcreatedockerfile_empty_repo.dockerfile
+++ b/dockerimg/testdata/testcreatedockerfile_empty_repo.dockerfile
@@ -1,29 +1,4 @@
-FROM golang:1.24.2-alpine3.21
-
-RUN apk add bash git make jq sqlite gcc musl-dev linux-headers npm nodejs go github-cli ripgrep fzf python3 curl vim
-
-ENV GOTOOLCHAIN=auto
-ENV GOPATH=/go
-ENV PATH="$GOPATH/bin:$PATH"
-
-RUN go install golang.org/x/tools/cmd/goimports@latest
-RUN go install golang.org/x/tools/gopls@latest
-RUN go install mvdan.cc/gofumpt@latest
-
-RUN mkdir -p /root/.cache/sketch/webui
-
-RUN apk add --no-cache ca-certificates && \
- update-ca-certificates
-
-# Set up Go environment variables
-ENV CGO_ENABLED=1
-ENV GO111MODULE=on
-
-# Install any additional dependencies if needed
-RUN apk add --no-cache openssh-client || true
-
-# Create necessary directories
-RUN mkdir -p /root/.config/gh
+FROM ghcr.io/boldsoftware/sketch:v1
ARG GIT_USER_EMAIL
ARG GIT_USER_NAME
@@ -31,10 +6,14 @@
RUN git config --global user.email "$GIT_USER_EMAIL" && \
git config --global user.name "$GIT_USER_NAME"
-LABEL sketch_context="ecacc023382f310d25253734931f73bdfa48bd71cd92bd2c3ae1a6099ce5eb40"
+LABEL sketch_context="64e014c23327ab5d33f72661ff9322e1ae3f87ffc6daded9c7f68629cc8f34da"
COPY . /app
WORKDIR /app
RUN if [ -f go.mod ]; then go mod download; fi
-CMD ["/bin/sketch"]
\ No newline at end of file
+RUN apk add --no-cache protoc protobuf-dev || true
+RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
+RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
+
+CMD ["/bin/sketch"]