DMAAP-BC - Update Release Note Date
[dmaap/buscontroller.git] / dmaap-bc / src / main / resources / docker / Dockerfile
1 #########
2 #  ============LICENSE_START====================================================
3 #  org.onap.dmaap
4 #  ===========================================================================
5 #  Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 #  Modifications Copyright (C) 2018 Nokia. All rights reserved.
7 #  Modifications Copyright (C) 2021 Nordix Foundation.
8 #  ===========================================================================
9 #  Licensed under the Apache License, Version 2.0 (the "License");
10 #  you may not use this file except in compliance with the License.
11 #  You may obtain a copy of the License at
12 #
13 #       http://www.apache.org/licenses/LICENSE-2.0
14 #
15 #  Unless required by applicable law or agreed to in writing, software
16 #  distributed under the License is distributed on an "AS IS" BASIS,
17 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 #  See the License for the specific language governing permissions and
19 #  limitations under the License.
20 #  ============LICENSE_END====================================================
21
22 FROM nexus3.onap.org:10001/onap/integration-java11:8.0.0
23
24 MAINTAINER DMAAP Team
25
26 WORKDIR /opt/app/dmaapbc
27
28 COPY /opt /opt
29 USER root
30 RUN apk add --no-cache curl jq net-tools wget procps \
31
32 &&  mkdir -p /opt/app/osaaf && \
33     chmod +x bin/* && \
34     mkdir logs && \
35     mkdir doc && \
36     mkdir config && \
37     chown -R onap:onap /opt/
38
39 USER onap
40
41 ENTRYPOINT ["sh", "bin/dmaapbc", "deploy"]