From 3656da62db877b72b5b53696fdbd3e3451b622d1 Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 21 Sep 2018 09:56:46 +0800 Subject: [PATCH] =?UTF-8?q?FROM=20Command=E6=8E=A5=E5=8F=97=E5=8B=95?= =?UTF-8?q?=E6=85=8B=E5=82=B3=E5=85=A5=E7=9A=84base=20image?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wildfly_tml/Dockerfile | 3 ++- wildfly_tml_khhw/Dockerfile | 3 ++- wildfly_tml_txgw/Dockerfile | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/wildfly_tml/Dockerfile b/wildfly_tml/Dockerfile index 1842f6d..8eeadde 100755 --- a/wildfly_tml/Dockerfile +++ b/wildfly_tml/Dockerfile @@ -1,5 +1,6 @@ #FROM shihxuancheng/wildfly-base:latest -FROM ${docker_rep_url}/jboss/wildfly-base:latest +ARG BASE_IMAGE=khhwtml02t.wanhai.com:8182/jboss/wildfly-base:latest +FROM $BASE_IMAGE #prepare tmp dir COPY --chown=jboss . ${JBOSS_HOME}/config diff --git a/wildfly_tml_khhw/Dockerfile b/wildfly_tml_khhw/Dockerfile index c9dc4c3..1612345 100644 --- a/wildfly_tml_khhw/Dockerfile +++ b/wildfly_tml_khhw/Dockerfile @@ -1,4 +1,5 @@ -FROM ${docker_rep_url}/jboss/wildfly-tml:latest +ARG BASE_IMAGE=khhwtml02t.wanhai.com:8182/jboss/wildfly-tml:latest +FROM $BASE_IMAGE #set environment ENV JAVA_OPTS="-Dcom.wanhai.tml.yard.current=KHHW -Dsentry.dsn=http://d5756310a31a47909989df81461b1da1:bfb176b900fb498c8e3b60d31d12c23f@khhwtml02t.wanhai.com:9000/2 -Dsentry.stacktrace.app.packages=com.wanhai.tml -Dsentry.release=0.1.0 -Dsentry.environment=${profile}" diff --git a/wildfly_tml_txgw/Dockerfile b/wildfly_tml_txgw/Dockerfile index f22a050..2a17ed9 100644 --- a/wildfly_tml_txgw/Dockerfile +++ b/wildfly_tml_txgw/Dockerfile @@ -1,4 +1,5 @@ -FROM ${docker_rep_url}/jboss/wildfly-tml:latest +ARG BASE_IMAGE=khhwtml02t.wanhai.com:8182/jboss/wildfly-tml:latest +FROM $BASE_IMAGE #set environment ENV JAVA_OPTS="-Dcom.wanhai.tml.yard.current=TXGW -Dsentry.dsn=http://d5756310a31a47909989df81461b1da1:bfb176b900fb498c8e3b60d31d12c23f@khhwtml02t.wanhai.com:9000/2 -Dsentry.stacktrace.app.packages=com.wanhai.tml -Dsentry.release=0.1.0 -Dsentry.environment=${profile}"