vasraz | b3c3aa6 | 2020-07-14 19:24:24 +0100 | [diff] [blame] | 1 | FROM onap/base_sdc-vnc:1.7.0 |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 2 | |
Petr OspalĂ˝ | 968cd1f | 2019-09-20 05:51:37 +0200 | [diff] [blame] | 3 | # install packages |
4 | RUN DEBIAN_FRONTEND=noninteractive \ | ||||
5 | apt-get -y update \ | ||||
6 | && \ | ||||
7 | apt-get -y install \ | ||||
8 | jq \ | ||||
9 | openssl \ | ||||
10 | && \ | ||||
11 | apt-get -y clean | ||||
12 | |||||
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 13 | COPY chef-solo /root/chef-solo/ |
Areli Fuss | 0a89f59 | 2017-09-11 10:27:29 +0300 | [diff] [blame] | 14 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 15 | COPY chef-repo/cookbooks/. /root/chef-solo/cookbooks/ |
16 | |||||
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 17 | |
18 | ENV TESTS_BASE /var/lib/tests | ||||
19 | RUN mkdir -p "$TESTS_BASE" | ||||
20 | WORKDIR $TESTS_BASE | ||||
21 | |||||
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 22 | ADD ui-ci-*.jar ${TESTS_BASE}/ |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 23 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 24 | COPY startup.sh /root/ |
Areli Fuss | 0a89f59 | 2017-09-11 10:27:29 +0300 | [diff] [blame] | 25 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 26 | RUN chmod 770 /root/startup.sh |
Areli Fuss | 0a89f59 | 2017-09-11 10:27:29 +0300 | [diff] [blame] | 27 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 28 | ENTRYPOINT [ "/root/startup.sh" ] |