Copy go.sum into the Docker build; pin compose example to v0.1.5
The image build broke with the first Linux-imported dependency (go-systemd): the Dockerfile copied go.mod only, and the missing go.sum never mattered while golang.org/x/sys was Windows-only.
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
FROM golang:1.23 AS build
|
||||
WORKDIR /src
|
||||
COPY go.mod ./
|
||||
COPY go.mod go.sum ./
|
||||
COPY cmd ./cmd
|
||||
COPY internal ./internal
|
||||
ARG VERSION=dev
|
||||
|
||||
Reference in New Issue
Block a user