Skip to content

Commit

Permalink
Update Dockerfile-fips
Browse files Browse the repository at this point in the history
Added OC binary
  • Loading branch information
phanikumarp authored Sep 12, 2024
1 parent 81942c9 commit 578b3e8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker/ubi8/Dockerfile-fips
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ RUN wget https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VER
RUN curl -f -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/${KUBECTL_RELEASE}/${AWS_BINARY_RELEASE_DATE}/bin/linux/amd64/aws-iam-authenticator && \
chmod +x /usr/local/bin/aws-iam-authenticator

## FOR OC binaries
RUN wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz
RUN tar -xzf openshift-client-linux.tar.gz
RUN rm -f openshift-client-linux.tar.gz
RUN mv oc /usr/local/bin/


RUN adduser spinnaker
USER spinnaker
CMD ["/opt/halyard/bin/halyard"]

0 comments on commit 578b3e8

Please sign in to comment.