summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone
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
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')
-rw-r--r--engine-d-standalone/pom.xml5
-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
5 files changed, 14 insertions, 13 deletions
diff --git a/engine-d-standalone/pom.xml b/engine-d-standalone/pom.xml
index e5a84e0..289a632 100644
--- a/engine-d-standalone/pom.xml
+++ b/engine-d-standalone/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!--
- Copyright 2017-2020 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.
@@ -126,6 +126,7 @@
<execution>
<id>linux64</id>
<configuration>
+ <tarLongFileMode>gnu</tarLongFileMode>
<descriptors>
<descriptor>linux64-assembly.xml</descriptor>
</descriptors>
@@ -134,7 +135,7 @@
</configuration>
<phase>package</phase>
<goals>
- <goal>attached</goal>
+ <goal>single</goal>
</goals>
</execution>
</executions>
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.