1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-21 05:55:35 +00:00
catalog/task/openshift-client-python/0.1/Dockerfile
Chmouel Boudjnah a861887585 Update all images using openshift to latest stable 4.6
* Update all images to use the latest stable 4.6
* Modify the task using :latest to pin it to 4.6

Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
2021-01-05 10:15:11 +00:00

16 lines
326 B
Docker

FROM quay.io/openshift/origin-cli:4.6 AS oc
FROM centos:7 as builder
RUN yum --enablerepo=extras install -y epel-release && \
yum install -y python2 python-pip && \
pip install openshift-client
COPY --from=oc . .
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
COPY --from=builder . .
ENTRYPOINT /bin/sh