[#noissue] update configs and typo
This commit is contained in:
@@ -4,7 +4,7 @@ LABEL maintainer="Roy Kim <roy.kim@navercorp.com>"
|
||||
|
||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.0.4}
|
||||
|
||||
ARG INSTALL_URL=https://github.com/naver/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-collector-boot-${PINPOINT_VERSION}.war
|
||||
ARG INSTALL_URL=https://github.com/naver/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-collector-boot-${PINPOINT_VERSION}.jar
|
||||
|
||||
RUN mkdir -p /pinpoint/config \
|
||||
&& mkdir -p /pinpoint/scripts
|
||||
@@ -14,7 +14,8 @@ COPY /build/scripts/start-collector.sh /pinpoint/scripts/
|
||||
#temporary line for local test
|
||||
#COPY /pinpoint-collector-boot-2.1.0-SNAPSHOT.jar /pinpoint/pinpoint-collector-boot.jar
|
||||
|
||||
RUN chmod a+x /pinpoint/scripts/start-collector.sh \
|
||||
RUN apk --no-cache add curl \
|
||||
&& chmod a+x /pinpoint/scripts/start-collector.sh \
|
||||
&& chmod a+x /pinpoint/config/pinpoint-collector.properties \
|
||||
&& curl -SL ${INSTALL_URL} -o /pinpoint/pinpoint-collector-boot.jar
|
||||
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
set -e
|
||||
set -x
|
||||
|
||||
exec java -jar /pinpoint/pinpoint-collector-boot.jar --spring.config.additional-location=/pinpoint/config/pinpoint-web.properties
|
||||
exec java -jar /pinpoint/pinpoint-collector-boot.jar --spring.config.additional-location=/pinpoint/config/pinpoint-collector.properties
|
||||
Reference in New Issue
Block a user