|
1 | 1 | # Provides the tooling required run UI tests against the StackRox images. |
2 | 2 |
|
| 3 | +ARG ROXIE_VERSION=0.1.2 |
| 4 | +ARG ROXIE_CHECKSUM=sha256:808acf790369f3cb5744c5c03a4f97e2c57e8e752ae2bce952515bed3fdfd00d |
| 5 | +FROM quay.io/rhacs-eng/roxie:v${ROXIE_VERSION}@${ROXIE_CHECKSUM} AS roxie-installer |
| 6 | + |
3 | 7 | FROM quay.io/centos/centos:stream9 |
4 | 8 |
|
5 | 9 | # This line makes sure that piped commands in RUN instructions exit early. |
@@ -72,8 +76,8 @@ RUN dnf update -y \ |
72 | 76 | && dnf clean all \ |
73 | 77 | && rm -rf /var/cache/dnf /var/cache/yum |
74 | 78 |
|
75 | | -ARG GOLANG_VERSION=1.25.3 |
76 | | -ARG GOLANG_SHA256=0335f314b6e7bfe08c3d0cfaa7c19db961b7b99fb20be62b0a826c992ad14e0f |
| 79 | +ARG GOLANG_VERSION=1.25.7 |
| 80 | +ARG GOLANG_SHA256=12e6d6a191091ae27dc31f6efc630e3a3b8ba409baf3573d955b196fdf086005 |
77 | 81 | ENV GOPATH /go |
78 | 82 | ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH |
79 | 83 | RUN url="https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz" && \ |
@@ -112,7 +116,7 @@ RUN set -ex \ |
112 | 116 | && bats -v |
113 | 117 |
|
114 | 118 | # Install docker binary |
115 | | -ARG DOCKER_VERSION=20.10.6 |
| 119 | +ARG DOCKER_VERSION=29.2.1 |
116 | 120 | RUN set -ex \ |
117 | 121 | && DOCKER_URL="https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz" \ |
118 | 122 | && echo Docker URL: $DOCKER_URL \ |
@@ -212,6 +216,9 @@ RUN set -ex \ |
212 | 216 | && pip3 install pycodestyle=="${PYCODESTYLE_VERSION}" \ |
213 | 217 | pylint=="${PYLINT_VERSION}" |
214 | 218 |
|
| 219 | +# Install roxie. |
| 220 | +COPY --from=roxie-installer /usr/local/bin/roxie /usr/bin/roxie |
| 221 | + |
215 | 222 | RUN \ |
216 | 223 | mv /bin/bash /bin/real-bash && \ |
217 | 224 | mv /bin/bash-wrapper /bin/bash |
0 commit comments