vasraz | b3c3aa6 | 2020-07-14 19:24:24 +0100 | [diff] [blame] | 1 | FROM onap/base_sdc-sanity: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 \ | ||||
5 | apk update \ | ||||
6 | && \ | ||||
7 | apk add --no-cache \ | ||||
8 | jq \ | ||||
9 | openssl \ | ||||
10 | && \ | ||||
11 | rm -rf /var/cache/apk/* | ||||
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 | |||||
22 | ADD test-apis-ci-*.jar ${TESTS_BASE}/ | ||||
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" ] |