diff options
author | Dmitry Puzikov <dmitry.puzikov@tieto.com> | 2019-04-02 10:05:05 +0200 |
---|---|---|
committer | Dmitry Puzikov <dmitry.puzikov@tieto.com> | 2019-04-02 10:05:05 +0200 |
commit | c8e918d9c5945695f3f281717d683140c9d422b5 (patch) | |
tree | 0d55acf945d53043e0278577a4b8a5fdaecdbd06 /policy-common/alpine | |
parent | 7830af09b0f682f61d9109b2a296b09450f5ae17 (diff) |
Add licence headers, fix notes
Change-Id: I7664605a55554caad347c13d159908537b7c4fb0
Issue-ID: INT-996
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
Diffstat (limited to 'policy-common/alpine')
-rw-r--r-- | policy-common/alpine/pom.xml | 6 | ||||
-rw-r--r-- | policy-common/alpine/src/main/docker/Dockerfile | 24 |
2 files changed, 23 insertions, 7 deletions
diff --git a/policy-common/alpine/pom.xml b/policy-common/alpine/pom.xml index 3668d893..cd6ce9de 100644 --- a/policy-common/alpine/pom.xml +++ b/policy-common/alpine/pom.xml @@ -1,6 +1,6 @@ <!-- ============LICENSE_START======================================================= - Copyright (C) 2018 Ericsson, Tieto. All rights reserved. + Copyright (C) 2019 Ericsson, Tieto. All rights reserved. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -77,7 +77,6 @@ <apiVersion>1.23</apiVersion> <pullRegistry>${docker.pull.registry}</pullRegistry> <pushRegistry>${docker.push.registry}</pushRegistry> - <images> <image> <name>onap/policy-common-alpine</name> @@ -89,6 +88,9 @@ <tag>${project.version}-${maven.build.timestamp}</tag> <tag>${project.docker.latesttag.version}</tag> </tags> + <args> + <BUILD_VERSION>${docker.build.version}</BUILD_VERSION> + </args> </build> </image> </images> diff --git a/policy-common/alpine/src/main/docker/Dockerfile b/policy-common/alpine/src/main/docker/Dockerfile index 19ea230c..96f4df53 100644 --- a/policy-common/alpine/src/main/docker/Dockerfile +++ b/policy-common/alpine/src/main/docker/Dockerfile @@ -1,16 +1,30 @@ +# ============LICENSE_START======================================================= +# Copyright (C) 2019 Tieto. All rights reserved. +# ================================================================================ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # -# Docker file to build an image that contains commom packages for Policy apps +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= + +# +# Docker file to build an image that contains commom packages for Policy components # FROM onap/policy-base-alpine LABEL maintainer="Policy Team" -ARG HTTP_PROXY=${HTTP_PROXY} -ARG HTTPS_PROXY=${HTTPS_PROXY} ARG BUILD_VERSION=${BUILD_VERSION} -ENV http_proxy $HTTP_PROXY -ENV https_proxy $HTTPS_PROXY ENV BUILD_VERSION ${BUILD_VERSION} ENV POLICY_HOME=/opt/app/policy |