Skip to content

Commit

Permalink
Add build root image for running E2E tests
Browse files Browse the repository at this point in the history
The end-to-end tests require some CLI present in the image to run the
tests. This image downloads kustomize and installs it in the path.

Signed-off-by: Arjun Naik <arjun.rn@gmail.com>
  • Loading branch information
arjunrn committed Sep 7, 2021
1 parent c55ffc3 commit d754d50
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions images/build-root/Dockerfile
@@ -0,0 +1,7 @@
FROM registry.ci.openshift.org/openshift/release:golang-1.16

ENV KUSTOMIZE_VERSION="4.3.0"

# Install kustomize
RUN curl -sSLo kustomize.tar.gz "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv${KUSTOMIZE_VERSION}/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz" && \
tar -C /usr/local/bin -zvxf kustomize.tar.gz \

0 comments on commit d754d50

Please sign in to comment.