Skip to content

Commit

Permalink
[OSSM-6759] Bump ubi version in test container (#702)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkralik3 authored Jul 1, 2024
1 parent 1bac8c8 commit 3087def
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest

ARG HELM_VERSION="v3.11.3"
ARG GO_VERSION="1.20.3"
ARG OCP_VERSION="stable"

ENV GOPATH=/go
ENV PATH=/usr/local/go/bin:$GOPATH/bin:$PATH
# we need to set HOME when running on OCP with random UID, otherwise the home is set to / and any writing there will fail with permission denied
ENV HOME=$GOPATH/src/maistra-test-tool

RUN microdnf install --nodocs tar gzip openssl findutils make git && \
curl -Lo ./oc.tar.gz https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable/openshift-client-linux.tar.gz && \
RUN microdnf install -y --nodocs tar gzip openssl findutils make git && \
curl -Lo ./oc.tar.gz https://mirror.openshift.com/pub/openshift-v4/clients/ocp/${OCP_VERSION}/openshift-client-linux.tar.gz && \
tar -xf oc.tar.gz -C /usr/bin && \
rm -f oc.tar.gz && \
curl -Lo ./golang.tar.gz https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz && \
Expand Down

0 comments on commit 3087def

Please sign in to comment.