diff --git a/Dockerfile b/Dockerfile index ac07ff6e..7951bdbf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,9 @@ # syntax=docker/dockerfile:1.4 -FROM --platform=$BUILDPLATFORM cgr.dev/chainguard/go:latest as build +FROM --platform=$BUILDPLATFORM cgr.dev/chainguard/wolfi-base as build LABEL maintainer="Will Norris " +RUN apk update && apk add build-base git openssh go-1.20 + WORKDIR /app COPY go.mod go.sum ./ RUN go mod download