aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile3
-rw-r--r--docker/docker-env-config.sh10
2 files changed, 6 insertions, 7 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 4ce2049..11c2ac5 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM ubuntu:14.04
+FROM redis:6.2.5-alpine3.14
ARG HTTP_PROXY=${HTTP_PROXY}
ARG HTTPS_PROXY=${HTTPS_PROXY}
@@ -15,4 +15,3 @@ EXPOSE 6379
USER onap
WORKDIR /service
-CMD ["redis-server"]
diff --git a/docker/docker-env-config.sh b/docker/docker-env-config.sh
index d2ea727..b731ad6 100644
--- a/docker/docker-env-config.sh
+++ b/docker/docker-env-config.sh
@@ -3,12 +3,12 @@
add_user(){
useradd onap
- chown onap:onap -R /service
+ chown onap:onap -R /service
}
install_sf(){
- apt-get update
+ apt-get update
apt-get install -y redis-server
}
@@ -20,6 +20,6 @@ clean_sf_cache(){
}
add_user
-install_sf
-wait
-clean_sf_cache
+# install_sf
+# wait
+# clean_sf_cache