aboutsummaryrefslogtreecommitdiffstats
path: root/ui-ci/sdc-ui-tests/Dockerfile
blob: e3025420ea4326258e7435c3b2c779cf1b97344c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM onap/base_sdc-vnc:1.7.0

# install packages
RUN DEBIAN_FRONTEND=noninteractive \
    apt-get -y update \
    && \
    apt-get -y install \
        jq \
        openssl \
    && \
    apt-get -y clean

COPY chef-solo /root/chef-solo/

COPY chef-repo/cookbooks/. /root/chef-solo/cookbooks/


ENV TESTS_BASE /var/lib/tests
RUN mkdir -p "$TESTS_BASE"
WORKDIR $TESTS_BASE

ADD ui-ci-*.jar                        ${TESTS_BASE}/

COPY startup.sh /root/

RUN chmod 770 /root/startup.sh

ENTRYPOINT [ "/root/startup.sh" ]