mirror of
https://github.com/willnorris/imageproxy.git
synced 2024-12-16 21:56:43 -05:00
Dockerfile: use wolfi-base as build image
This allows a little more control over which version of go we're using.
This commit is contained in:
parent
9708b430f5
commit
da55ecefd3
1 changed files with 3 additions and 1 deletions
|
@ -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 <will@willnorris.com>"
|
||||
|
||||
RUN apk update && apk add build-base git openssh go-1.20
|
||||
|
||||
WORKDIR /app
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
|
Loading…
Reference in a new issue