Rebase docker image to remove GPLv3 issue 11/127611/1
authorBin Yang <bin.yang@windriver.com>
Thu, 10 Mar 2022 07:35:13 +0000 (15:35 +0800)
committerBin Yang <bin.yang@windriver.com>
Thu, 10 Mar 2022 07:35:13 +0000 (15:35 +0800)
Rebase to onap/integration-python:9.1.0 which is python3.9

Issue-ID: MULTICLOUD-1224

Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: I8d2a33769d89a6bea0d01ddacd362f597fe8d8ce

fcaps/docker/Dockerfile
pike/docker/Dockerfile
starlingx/docker/Dockerfile
windriver/docker/Dockerfile

index 80d6ca4..3de775a 100644 (file)
@@ -1,4 +1,5 @@
-FROM python:3.8-alpine
+# FROM python:3.8-alpine
+FROM nexus3.onap.org:10001/onap/integration-python:9.1.0
 
 ARG HTTP_PROXY=${HTTP_PROXY}
 ARG HTTPS_PROXY=${HTTPS_PROXY}
@@ -17,7 +18,9 @@ ENV AAI_PASSWORD "AAI"
 
 EXPOSE 9011
 
-RUN addgroup -S onap && adduser -S -G onap onap
+# RUN addgroup -S onap && adduser -S -G onap onap
+USER root
+
 # COPY ./ /opt/fcaps/
 COPY ./multicloud-openstack-fcaps-*.zip /opt/multicloud-openstack-fcaps.zip
 
index bf632ce..7ce5402 100644 (file)
@@ -12,7 +12,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM python:3.8-alpine
+# FROM python:3.8-alpine
+FROM nexus3.onap.org:10001/onap/integration-python:9.1.0
 
 ARG HTTP_PROXY=${HTTP_PROXY}
 ARG HTTPS_PROXY=${HTTPS_PROXY}
@@ -32,7 +33,8 @@ ENV AAI_PASSWORD "AAI"
 
 EXPOSE 9007
 
-RUN addgroup -S onap && adduser -S -G onap onap
+# RUN addgroup -S onap && adduser -S -G onap onap
+USER root
 
 COPY ./multicloud-openstack-pike-*.zip /opt/multicloud-openstack-pike.zip
 RUN apk update && \
index a5da24d..79b351d 100644 (file)
@@ -12,7 +12,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM python:3.8-alpine
+# FROM python:3.8-alpine
+FROM nexus3.onap.org:10001/onap/integration-python:9.1.0
 
 ARG HTTP_PROXY=${HTTP_PROXY}
 ARG HTTPS_PROXY=${HTTPS_PROXY}
@@ -32,7 +33,9 @@ ENV AAI_PASSWORD "AAI"
 
 EXPOSE 9009
 
-RUN addgroup -S onap && adduser -S -G onap onap
+# RUN addgroup -S onap && adduser -S -G onap onap
+USER root
+
 # COPY ./ /opt/
 COPY ./multicloud-openstack-starlingx-*.zip /opt/multicloud-openstack-starlingx.zip
 RUN apk update && \
index ae438f5..0f26f13 100644 (file)
@@ -1,4 +1,5 @@
-FROM python:3.8-alpine
+# FROM python:3.8-alpine
+FROM nexus3.onap.org:10001/onap/integration-python:9.1.0
 
 ARG HTTP_PROXY=${HTTP_PROXY}
 ARG HTTPS_PROXY=${HTTPS_PROXY}
@@ -17,7 +18,9 @@ ENV AAI_PASSWORD "AAI"
 
 EXPOSE 9005
 
-RUN addgroup -S onap && adduser -S -G onap onap
+# RUN addgroup -S onap && adduser -S -G onap onap
+USER root
+
 # COPY ./ /opt/windriver/
 COPY ./multicloud-openstack-windriver-*.zip /opt/multicloud-openstack-windriver.zip
 RUN apk update && \