summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/rapid/Dockerfile
diff options
context:
space:
mode:
authorYury Kylulin <yury.kylulin@intel.com>2021-11-02 17:47:12 +0300
committerYury Kylulin <yury.kylulin@intel.com>2021-11-02 18:01:48 +0300
commitb8f652cf6bd2e8b241a02cb2e455086979abbe15 (patch)
tree0f49bd0816b895e0d8d42e5d5471af4d55bcd6e7 /VNFs/DPPD-PROX/helper-scripts/rapid/Dockerfile
parent75597545ef748d7113591cdbfc8d1aaa88cf15cb (diff)
Create combined image and add helm chart
Changes in this commit: 1) Create self contained image, rapid scripts can be executed from the management pod and create other testing pods in the cluster. 2) Helm chart to automate rapid deployment and proper service account configuration to be able to start management pod. 3) Fix for migration to paramiko. Signed-off-by: Yury Kylulin <yury.kylulin@intel.com> Change-Id: I0281871cce392b3003e0274602a5c90c29af9b23
Diffstat (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/Dockerfile')
-rw-r--r--VNFs/DPPD-PROX/helper-scripts/rapid/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/Dockerfile b/VNFs/DPPD-PROX/helper-scripts/rapid/Dockerfile
index a62c5dc4..2c25f097 100644
--- a/VNFs/DPPD-PROX/helper-scripts/rapid/Dockerfile
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/Dockerfile
@@ -48,6 +48,11 @@ EXPOSE 22 8474
COPY ./rapid_rsa_key.pub /home/centos/.ssh/authorized_keys
COPY ./rapid_rsa_key.pub /root/.ssh/authorized_keys
+RUN chown centos:centos /home/centos/.ssh/authorized_keys \
+ && chmod 600 /home/centos/.ssh/authorized_keys \
+ && chown root:root /root/.ssh/authorized_keys \
+ && chmod 600 /root/.ssh/authorized_keys
+
# Copy startup script
COPY ./start.sh /start.sh
RUN chmod +x /start.sh