diff --git a/Dockerfile b/Dockerfile index 408e81da3..09e15273b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,12 +6,18 @@ FROM golang:1.22-bullseye AS build WORKDIR /build RUN git config --global --add safe.directory /build + COPY go.mod go.sum ./ RUN go mod download + COPY Makefile main.go ./ COPY static/ static/ COPY pkg/ pkg/ COPY .git/ . + +RUN env | sort +RUN foo + RUN make build # ------------------------------------------------------------------------------