From 558dcdb524dff948779ee41cd65ae3e7e4702359 Mon Sep 17 00:00:00 2001 From: Roy Kim Date: Tue, 29 Sep 2020 10:11:08 +0900 Subject: [PATCH] [#87] add default spring profiler value --- pinpoint-agent/Dockerfile | 2 ++ pinpoint-collector/Dockerfile | 3 ++- pinpoint-web/Dockerfile | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pinpoint-agent/Dockerfile b/pinpoint-agent/Dockerfile index 1a5fa9d..00f8f49 100644 --- a/pinpoint-agent/Dockerfile +++ b/pinpoint-agent/Dockerfile @@ -4,6 +4,8 @@ LABEL maintainer="Roy Kim " ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.1.0} ARG INSTALL_URL=https://github.com/naver/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-agent-${PINPOINT_VERSION}.tar.gz +ARG SPRING_PROFILES=${SPRING_PROFILES:-release} +ENV SPRING_PROFILES=$SPRING_PROFILES COPY /build/scripts/configure-agent.sh /usr/local/bin/ diff --git a/pinpoint-collector/Dockerfile b/pinpoint-collector/Dockerfile index e213128..8b8b7d7 100644 --- a/pinpoint-collector/Dockerfile +++ b/pinpoint-collector/Dockerfile @@ -3,8 +3,9 @@ FROM openjdk:8-jdk-alpine LABEL maintainer="Roy Kim " ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.1.0} - ARG INSTALL_URL=https://github.com/naver/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-collector-boot-${PINPOINT_VERSION}.jar +ARG SPRING_PROFILES=${SPRING_PROFILES:-release} +ENV SPRING_PROFILES=$SPRING_PROFILES RUN mkdir -p /pinpoint/config \ && mkdir -p /pinpoint/scripts diff --git a/pinpoint-web/Dockerfile b/pinpoint-web/Dockerfile index e2417d0..7f1e8d3 100644 --- a/pinpoint-web/Dockerfile +++ b/pinpoint-web/Dockerfile @@ -4,6 +4,8 @@ LABEL maintainer="Roy Kim " ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.1.0} ARG INSTALL_URL=https://github.com/naver/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-web-boot-${PINPOINT_VERSION}.jar +ARG SPRING_PROFILES=${SPRING_PROFILES:-release} +ENV SPRING_PROFILES=$SPRING_PROFILES RUN mkdir -p /pinpoint/config \ && mkdir -p /pinpoint/scripts