Skip to content

Commit

Permalink
Inspect build env (do not merge)
Browse files Browse the repository at this point in the history
  • Loading branch information
sosedoff committed Mar 26, 2024
1 parent 6489f6a commit 04f96ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

# ------------------------------------------------------------------------------
Expand Down

0 comments on commit 04f96ff

Please sign in to comment.