summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorLucjan Bryndza <l.bryndza@samsung.com>2020-03-11 12:09:42 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-20 09:43:53 +0000
commitd63df03b8db1bd37acc2d88c6b3aac61402c90d7 (patch)
tree8ceb857e2c64a002012ae35e42ae028ed27c58e9 /docker
parent61a38bb5cbfade51a27ac24cb5138c82fa8e2ca5 (diff)
Testsuite docker build fix
Configuration files authorization and lighttpd.conf are in the excluded docker directory in .dockerignore so the container won't build. Copying all files also causes to copy files not used in runtime. Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Issue-ID: TEST-229 Change-Id: I3591dc686e1d2e3f1ce2982a5f6953bf02007634
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 24c63892..188a8e15 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -51,9 +51,11 @@ RUN python3.7 -m pip install setuptools wheel
RUN python3.7 -m pip install virtualenv
# Copy the robot code
-COPY . /var/opt/ONAP/
-COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
-COPY authorization /etc/lighttpd/authorization
+COPY html/ /var/opt/ONAP/html
+COPY robot/ /var/opt/ONAP/robot
+COPY *.sh /var/opt/ONAP/
+COPY docker/lighttpd.conf /etc/lighttpd/lighttpd.conf
+COPY docker/authorization /etc/lighttpd/authorization
RUN chmod 777 /var/opt/ONAP/setup.sh \
&& chmod 777 /var/opt/ONAP/runTags.sh \
&& chmod 777 /var/opt/ONAP/dnstraffic.sh \