Skip to content

Commit

Permalink
Remove debug statements from dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kylape committed Dec 7, 2023
1 parent 79da0db commit ce2d1ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions image/scanner/rhtap/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ ENV CI=1
COPY . /src
WORKDIR /src

RUN ls -la; git log --oneline | wc -l; unzip -j repo2cpe.zip -d image/scanner/dump/repo2cpe && \
RUN unzip -j repo2cpe.zip -d image/scanner/dump/repo2cpe && \
unzip -j k8s-definitions.zip -d image/scanner/dump/k8s_definitions && \
unzip -j nvd-definitions.zip -d image/scanner/dump/nvd_definitions

RUN echo "version: $(git describe --tags --abbrev=10 --dirty --long)"; git status; go build -trimpath -ldflags="-X github.com/stackrox/scanner/pkg/version.Version=$(git describe --tags --abbrev=10 --dirty --long)" -o image/scanner/bin/scanner ./cmd/clair
RUN go build -trimpath -ldflags="-X github.com/stackrox/scanner/pkg/version.Version=$(git describe --tags --abbrev=10 --dirty --long)" -o image/scanner/bin/scanner ./cmd/clair

# Replace genesis manifests file in the source code with the one generated at
# the point when the dump was taken. This is to avoid discrepancy between other
Expand Down

0 comments on commit ce2d1ff

Please sign in to comment.