1 # SPDX-license-identifier: Apache-2.0
2 ##############################################################################
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
12 ARG HTTP_PROXY=${HTTP_PROXY}
13 ARG HTTPS_PROXY=${HTTPS_PROXY}
15 ENV http_proxy $HTTP_PROXY
16 ENV https_proxy $HTTPS_PROXY
17 ENV no_proxy $NO_PROXY
21 RUN groupadd -r onap && useradd -r -g onap onap
23 WORKDIR /opt/multicloud/k8splugin
24 RUN chown onap:onap /opt/multicloud/k8splugin -R
26 ADD --chown=onap ./k8plugin ./
27 ADD --chown=onap ./*.so ./plugins/