[#87] add default spring profiler value

This commit is contained in:
Roy Kim 2020-09-29 10:11:08 +09:00 committed by Roy Kim
parent 183778bda6
commit 558dcdb524
3 changed files with 6 additions and 1 deletions

View File

@ -4,6 +4,8 @@ LABEL maintainer="Roy Kim <roy.kim@navercorp.com>"
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.1.0} 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 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/ COPY /build/scripts/configure-agent.sh /usr/local/bin/

View File

@ -3,8 +3,9 @@ FROM openjdk:8-jdk-alpine
LABEL maintainer="Roy Kim <roy.kim@navercorp.com>" LABEL maintainer="Roy Kim <roy.kim@navercorp.com>"
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.1.0} 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 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 \ RUN mkdir -p /pinpoint/config \
&& mkdir -p /pinpoint/scripts && mkdir -p /pinpoint/scripts

View File

@ -4,6 +4,8 @@ LABEL maintainer="Roy Kim <roy.kim@navercorp.com>"
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.1.0} 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 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 \ RUN mkdir -p /pinpoint/config \
&& mkdir -p /pinpoint/scripts && mkdir -p /pinpoint/scripts