summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone/src/main/assembly
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2023-10-30 20:08:16 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2023-10-30 12:12:20 +0000
commit084a40dc78e76177b688ac597eaf9c4d00daa158 (patch)
tree7b21a333bf615f107039a1bc27b7e53cbe9bd242 /engine-d-standalone/src/main/assembly
parent810f5b2fcc7eeb0d066c8ea44335d0a7ab5b857b (diff)
Updated Direct Dependencies
Issue-ID: HOLMES-633 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn> Change-Id: Ibf6e1fd9c93c64bc22dc346d85df69a88f40976e
Diffstat (limited to 'engine-d-standalone/src/main/assembly')
-rw-r--r--engine-d-standalone/src/main/assembly/Dockerfile10
-rw-r--r--engine-d-standalone/src/main/assembly/bin/initDB.sh4
-rw-r--r--engine-d-standalone/src/main/assembly/bin/run.sh4
-rw-r--r--engine-d-standalone/src/main/assembly/bin/stop.sh4
4 files changed, 11 insertions, 11 deletions
diff --git a/engine-d-standalone/src/main/assembly/Dockerfile b/engine-d-standalone/src/main/assembly/Dockerfile
index a1f427a..13aa247 100644
--- a/engine-d-standalone/src/main/assembly/Dockerfile
+++ b/engine-d-standalone/src/main/assembly/Dockerfile
@@ -1,4 +1,4 @@
-FROM onap/integration-java11:7.0.0
+FROM onap/integration-java17:12.0.0
MAINTAINER "Guangrong Fu" <fu.guangrong@zte.com.cn>
@@ -9,13 +9,13 @@ USER root
EXPOSE 9102 9202
ENV HOSTNAME=holmes-engine-mgmt \
- LANG=C.UTF-8
+ LANG=C.UTF-8 \
+ PG_VERSION=12.2-r0
ADD holmes-engine-d-standalone-*-linux64.tar.gz /opt/onap/
-RUN apt-get upgrade \
- && apt-get update \
- && apt-get install -y curl postgresql-client-11 \
+RUN apk update \
+ && apk add --no-cache curl postgresql-client \
&& chmod -R a+rw /opt/onap/ \
&& chmod -R a+rw /var/log/ \
&& chmod 755 /opt/onap/bin/*.sh
diff --git a/engine-d-standalone/src/main/assembly/bin/initDB.sh b/engine-d-standalone/src/main/assembly/bin/initDB.sh
index 3472e31..2559442 100644
--- a/engine-d-standalone/src/main/assembly/bin/initDB.sh
+++ b/engine-d-standalone/src/main/assembly/bin/initDB.sh
@@ -1,6 +1,6 @@
-#!/usr/bin/env bash
+#!/usr/bin/env sh
#
-# Copyright 2017-2021 ZTE Corporation.
+# Copyright 2017-2023 ZTE Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/engine-d-standalone/src/main/assembly/bin/run.sh b/engine-d-standalone/src/main/assembly/bin/run.sh
index 1a5ab6d..19de786 100644
--- a/engine-d-standalone/src/main/assembly/bin/run.sh
+++ b/engine-d-standalone/src/main/assembly/bin/run.sh
@@ -1,6 +1,6 @@
-#!/usr/bin/env bash
+#!/usr/bin/env sh
#
-# Copyright 2017-2021 ZTE Corporation.
+# Copyright 2017-2023 ZTE Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/engine-d-standalone/src/main/assembly/bin/stop.sh b/engine-d-standalone/src/main/assembly/bin/stop.sh
index 1b3b610..3d2c084 100644
--- a/engine-d-standalone/src/main/assembly/bin/stop.sh
+++ b/engine-d-standalone/src/main/assembly/bin/stop.sh
@@ -1,6 +1,6 @@
-#!/usr/bin/env bash
+#!/usr/bin/env sh
#
-# Copyright 2017-2021 ZTE Corporation.
+# Copyright 2017-2023 ZTE Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.