summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2020-06-08 09:48:52 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2020-06-08 09:48:52 +0800
commitf7ab0e4458ddb21a56d6ab015b5aa4ec4ad30fe6 (patch)
tree0d2b49906349d85031a583595ae948f2a71eb7d5 /engine-d-standalone
parent21019dc4975b06cc801926b19f5e380c0c71a3bd (diff)
Update the version of openjdk8
Change-Id: I26f164d082d7710397da79d6e439cdde57792ace Issue-ID: HOLMES-314 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d-standalone')
-rw-r--r--engine-d-standalone/src/main/assembly/Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/engine-d-standalone/src/main/assembly/Dockerfile b/engine-d-standalone/src/main/assembly/Dockerfile
index cbd45e6..d5ad247 100644
--- a/engine-d-standalone/src/main/assembly/Dockerfile
+++ b/engine-d-standalone/src/main/assembly/Dockerfile
@@ -8,7 +8,8 @@ ENV HOSTNAME=holmes-engine-mgmt \
LANG=C.UTF-8 \
JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk \
PATH=$PATH:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/bin \
- JAVA_ALPINE_VERSION=8.242.08-r2
+ JAVA_ALPINE_VERSION=8.242.08-r2 \
+ PG_VERSION=12.3-r2
#add the backend package to the docker image
WORKDIR /home/holmes
@@ -32,7 +33,7 @@ RUN { \
&& apk update \
&& apk add --no-cache curl \
&& apk add --no-cache wget \
- && apk add --no-cache postgresql-client=11.5-r0 \
+ && apk add --no-cache postgresql-client="$PG_VERSION" \
&& apk add --no-cache nss \
#switch the user to holmes