Fix: Update Sonar needed parameters
[oam/tr069-adapter.git] / db / Dockerfile
1 # ============LICENSE_START========================================================================\r
2 # ONAP : tr-069-adapter\r
3 # =================================================================================================\r
4 # Copyright (C) 2020 CommScope Inc Intellectual Property.\r
5 # =================================================================================================\r
6 # This tr-069-adapter software file is distributed by CommScope Inc\r
7 # under the Apache License, Version 2.0 (the "License");\r
8 # you may not use this file except in compliance with the License.\r
9 # You may obtain a copy of the License at\r
10 #\r
11 # http://www.apache.org/licenses/LICENSE-2.0\r
12 #\r
13 # This file is distributed on an "AS IS" BASIS,\r
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
15 # See the License for the specific language governing permissions and\r
16 # limitations under the License.\r
17 # ===============LICENSE_END=======================================================================\r
18 \r
19 FROM mariadb:10.4.7 \r
20 \r
21 WORKDIR /opt/CSAdapter/\r
22 \r
23 ADD config/CSAdapter_DB_password.txt CSAdapter_DB_password.txt\r
24 ADD config/CSAdapter_DB_user.txt CSAdapter_DB_user.txt\r
25 ADD config/setup.sql /docker-entrypoint-initdb.d/\r
26 ADD config/parameter.cnf /etc/mysql/mariadb.conf.d/parameter.cnf\r