-
Notifications
You must be signed in to change notification settings - Fork 9
/
Dockerfile
29 lines (24 loc) · 1 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM registry.access.redhat.com/ubi9/python-311:9.5-1734610704
LABEL \
description="Tools for Red Hat AppStudio" \
io.k8s.description="Tools for Red Hat AppStudio" \
io.k8s.display-name="Tools for Red Hat AppStudio" \
io.openshift.tags="appstudio" \
summary="This image contains various tools that are used within Red Hat \
AppStudio. The included tools are, for the most part, written in Python."
ENV \
ENABLE_PIPENV=true \
PIN_PIPENV_VERSION=2023.11.15 \
REQUESTS_CA_BUNDLE=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
USER 0
ADD . /tmp/src
ADD --chown=root:root --chmod=644 data/ca-trust/* /etc/pki/ca-trust/source/anchors
RUN /usr/bin/fix-permissions /tmp/src \
&& /usr/bin/update-ca-trust
RUN yum install -y krb5-workstation skopeo
COPY data/kerberos/krb5.conf /etc
USER 1001
RUN \
curl -L https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/4.12.36/openshift-client-linux.tar.gz \
| tar -C /opt/app-root/bin/ -xvzf - oc \
&& /usr/libexec/s2i/assemble