Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions image/rhel/konflux.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN /tmp/.konflux/subscription-manager-bro.sh cleanup

FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_1.23 AS go-builder

RUN dnf -y install --allowerasing make automake gcc gcc-c++ coreutils binutils diffutils zlib-devel bzip2-devel lz4-devel cmake jq
RUN dnf -y install --allowerasing jq

WORKDIR /go/src/github.com/stackrox/rox/app

Expand All @@ -48,8 +48,9 @@ ENV GOEXPERIMENT=strictfipsruntime
ENV CI=1

RUN # TODO(ROX-13200): make sure roxctl cli is built without running go mod tidy. \
make main-build-nodeps cli-build && \
mkdir -p image/rhel/docs/api/v1 && \
make main-build-nodeps cli-build

RUN mkdir -p image/rhel/docs/api/v1 && \
./scripts/mergeswag.sh 1 generated/api/v1 central/docs/api_custom_routes >image/rhel/docs/api/v1/swagger.json && \
mkdir -p image/rhel/docs/api/v2 && \
./scripts/mergeswag.sh 2 generated/api/v2 >image/rhel/docs/api/v2/swagger.json
Expand Down
Loading