Skip to content
Open
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
8 changes: 8 additions & 0 deletions images/stackrox-test.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
# binaries and images. Builds upon stackrox-build.Dockerfile.

ARG BASE_TAG
ARG ROXIE_VERSION=0.1.1
FROM quay.io/rhacs-eng/roxie:v${ROXIE_VERSION} as roxie-installer
FROM quay.io/stackrox-io/apollo-ci:${BASE_TAG} as base


# This line makes sure that piped commands in RUN instructions exit early.
# This should not affect use in CircleCI because Circle doesn't use
# CMD/ENTRYPOINT.
Expand Down Expand Up @@ -161,6 +164,11 @@ RUN set -ex \
&& pip3 install pycodestyle=="${PYCODESTYLE_VERSION}" \
pylint=="${PYLINT_VERSION}"

# Install roxie.
# We pull it out of an image from quay, because the GitHub repo is private
# and we already have quay credentials in place.
COPY --from=roxie-installer /usr/local/bin/roxie /usr/bin/roxie

RUN \
mv /bin/bash /bin/real-bash && \
mv /bin/bash-wrapper /bin/bash
Loading