Skip to content

Commit e237f7a

Browse files
author
Moritz Clasmeier
committed
Install roxie in test images
1 parent b8d3dca commit e237f7a

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

images/stackrox-test.Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,16 @@ RUN set -ex \
161161
&& pip3 install pycodestyle=="${PYCODESTYLE_VERSION}" \
162162
pylint=="${PYLINT_VERSION}"
163163

164+
# Install roxie
165+
ARG ROXIE_VERSION=0.1.0-test1
166+
ARG ROXIE_SHA256=17a48c86379cbaa8dba284de79418c815f4c6647d8dda8c12de559d12ea9f8ad
167+
ARG ROXIE_FILENAME=roxie-linux-amd64
168+
RUN set -ex \
169+
&& wget --no-verbose "https://github.com/stackrox/roxie/releases/download/v${ROXIE_VERSION}/${ROXIE_FILENAME}" \
170+
&& sha256sum --check --status <<< "${ROXIE_SHA256} ${ROXIE_FILENAME}" \
171+
&& mv ${ROXIE_FILENAME} /usr/bin/roxie \
172+
&& chmod +x /usr/bin/roxie
173+
164174
RUN \
165175
mv /bin/bash /bin/real-bash && \
166176
mv /bin/bash-wrapper /bin/bash

images/stackrox-ui-test.Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,16 @@ RUN set -ex \
212212
&& pip3 install pycodestyle=="${PYCODESTYLE_VERSION}" \
213213
pylint=="${PYLINT_VERSION}"
214214

215+
# Install roxie
216+
ARG ROXIE_VERSION=0.1.0-test1
217+
ARG ROXIE_SHA256=17a48c86379cbaa8dba284de79418c815f4c6647d8dda8c12de559d12ea9f8ad
218+
ARG ROXIE_FILENAME=roxie-linux-amd64
219+
RUN set -ex \
220+
&& wget --no-verbose "https://github.com/stackrox/roxie/releases/download/v${ROXIE_VERSION}/${ROXIE_FILENAME}" \
221+
&& sha256sum --check --status <<< "${ROXIE_SHA256} ${ROXIE_FILENAME}" \
222+
&& mv ${ROXIE_FILENAME} /usr/bin/roxie \
223+
&& chmod +x /usr/bin/roxie
224+
215225
RUN \
216226
mv /bin/bash /bin/real-bash && \
217227
mv /bin/bash-wrapper /bin/bash

0 commit comments

Comments
 (0)