blob: edf939f43e4d03053bee56c996b0e7a33a13d28a [file] [log] [blame]
Tal Gitelmanae3a86d2018-10-30 19:45:19 +02001FROM onap/base_sdc-sanity:1.4.1
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" ]