aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/config/docker/init/Dockerfile
blob: b6be90b247179d3a4f2ca784998f675be89f1a9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from ubuntu:16.04

ENV no_proxy "localhost,127.0.0.1,.cluster.local,$KUBERNETES_SERVICE_HOST"
# Setup Corporate proxy
ENV https_proxy ${HTTPS_PROXY}
ENV http_proxy ${HTTP_PROXY}

# Additional packages
RUN apt-get update
RUN apt-get install -y openssl vim-common
RUN mkdir -p /opt/config/src/

COPY onap-cfg.tar.gz /tmp/
RUN tar -zxvf /tmp/onap-cfg.tar.gz -C /opt/config/src/
COPY config-init.sh /root/config-init.sh
RUN chmod a+x /root/config-init.sh
ENTRYPOINT /root/config-init.sh