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