blob: 1bd1a779ba0284f73fb6cf09585414f0927921bd [file] [log] [blame]
Tal Gitelmanae3a86d2018-10-30 19:45:19 +02001FROM onap/base_sdc-vnc:1.4.1
Michael Lando451a3402017-02-19 10:28:42 +02002
Petr Ospalý968cd1f2019-09-20 05:51:37 +02003# install packages
4RUN 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 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
Yuli Shlosbergf59a2252018-03-21 11:14:08 +020022ADD ui-ci-*.jar ${TESTS_BASE}/
Yuli Shlosberg9dde9262017-09-12 14:11:48 +030023
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" ]