blob: 3a232efb5c2122e5fb4c740a826360611afe47c5 [file] [log] [blame]
vasrazb3c3aa62020-07-14 19:24:24 +01001FROM onap/base_sdc-sanity:1.7.0
Michael Lando451a3402017-02-19 10:28:42 +02002
Petr Ospalý968cd1f2019-09-20 05:51:37 +02003# install packages
4RUN \
5 apk update \
6 && \
7 apk add --no-cache \
8 jq \
9 openssl \
10 && \
11 rm -rf /var/cache/apk/*
12
Michael Lando451a3402017-02-19 10:28:42 +020013COPY chef-solo /root/chef-solo/
Areli Fuss0a89f592017-09-11 10:27:29 +030014
Michael Lando451a3402017-02-19 10:28:42 +020015COPY chef-repo/cookbooks/. /root/chef-solo/cookbooks/
16
Yuli Shlosberg9dde9262017-09-12 14:11:48 +030017
18ENV TESTS_BASE /var/lib/tests
19RUN mkdir -p "$TESTS_BASE"
20WORKDIR $TESTS_BASE
21
22ADD test-apis-ci-*.jar ${TESTS_BASE}/
23
Michael Lando451a3402017-02-19 10:28:42 +020024COPY startup.sh /root/
Areli Fuss0a89f592017-09-11 10:27:29 +030025
Michael Lando451a3402017-02-19 10:28:42 +020026RUN chmod 770 /root/startup.sh
Areli Fuss0a89f592017-09-11 10:27:29 +030027
Michael Lando451a3402017-02-19 10:28:42 +020028ENTRYPOINT [ "/root/startup.sh" ]