Skip to content

Commit

Permalink
Merge pull request #33 from redhat-appstudio/fix-git-repo-ownership
Browse files Browse the repository at this point in the history
Dockerfile: fix git repository ownership
  • Loading branch information
chmeliik authored Mar 13, 2024
2 parents 2bd522c + f067eb7 commit 67b0332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ WORKDIR /src/syft
# openshift-golang-builder sets GOFLAGS=-mod=vendor, unset it (we don't vendor dependencies)
ENV GOFLAGS=""

COPY --chown=1001 go.mod go.sum .
COPY go.mod go.sum .
RUN go mod download

COPY --chown=1001 . .
COPY . .
RUN ./build-syft-binary.sh

FROM registry.access.redhat.com/ubi9/ubi-micro:9.3-13@sha256:d72202acf3073b61cb407e86395935b7bac5b93b16071d2b40b9fb485db2135d
Expand Down

0 comments on commit 67b0332

Please sign in to comment.