forked from kubernetes/ingress-nginx
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Dockerfile.ppc64le
45 lines (36 loc) · 1.59 KB
/
Dockerfile.ppc64le
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright (c) 2021 Red Hat, Inc.
# Copyright Contributors to the Open Cluster Management project
FROM BASE_IMAGE
ARG VCS_REF
ARG VCS_URL
ARG IMAGE_NAME
ARG IMAGE_DESCRIPTION
ARG IMAGE_VENDOR
ARG IMAGE_SUMMARY
# http://label-schema.org/rc1/
LABEL org.label-schema.vendor="IBM" \
org.label-schema.name="$IMAGE_NAME" \
org.label-schema.description="$IMAGE_DESCRIPTION" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url=$VCS_URL \
org.label-schema.license="Licensed Materials - Property of IBM" \
org.label-schema.schema-version="1.0" \
name="$IMAGE_NAME" \
vendor="$IMAGE_VENDOR" \
description="$IMAGE_DESCRIPTION" \
summary="$IMAGE_SUMMARY"
ENV AUTH_ERROR_PAGE_DIR_PATH=/opt/ibm/router/nginx/conf/errorpages SECRET_KEY_FILE_PATH=/etc/cfc/conf/auth-token-secret OIDC_ENABLE=false ADMINROUTER_ACTIVATE_AUTH_MODULE=true PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/ibm/router/nginx/sbin
RUN yum update -y --exclude=GeoIP* --exclude=readline* \
&& yum install -y openssl python python-devl \
&& wget https://cbs.centos.org/kojifiles/packages/dumb-init/1.1.3/17.el7/ppc64le/dumb-init-1.1.3-17.el7.ppc64le.rpm \
&& yum install -y dumb-init-1.1.3-17.el7.ppc64le.rpm \
&& rm -rf dumb-init-1.1.3-17.el7.ppc64le.rpm \
&& rpm -e kernel-devel \
&& yum clean all \
&& mkdir -p /var/log/nginx \
&& ln -sf /dev/stdout /var/log/nginx/access.log \
&& ln -sf /dev/stderr /var/log/nginx/error.log
COPY rootfs /
ADD packages.yaml License.txt /licenses/
ENTRYPOINT ["/usr/bin/dumb-init"]
CMD ["/management-ingress"]