summaryrefslogtreecommitdiffstats
path: root/test-apis-ci/sdc-api-tests/Dockerfile
blob: edf939f43e4d03053bee56c996b0e7a33a13d28a (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-sanity:1.4.1

# install packages
RUN \
    apk update \
    && \
    apk add --no-cache \
        jq \
        openssl \
    && \
    rm -rf /var/cache/apk/*

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 test-apis-ci-*.jar                        ${TESTS_BASE}/

COPY startup.sh /root/

RUN chmod 770 /root/startup.sh

ENTRYPOINT [ "/root/startup.sh" ]