[#87] add default spring profiler value
This commit is contained in:
parent
183778bda6
commit
558dcdb524
|
@ -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/
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue