Release 2.5.0 and add metric cluster for mac m1

This commit is contained in:
ga-ram
2022-12-30 15:10:36 +09:00
parent 62fd8704fb
commit 6410e28134
33 changed files with 304 additions and 36 deletions

View File

@@ -1,4 +1,4 @@
PINPOINT_VERSION=2.4.2
PINPOINT_VERSION=2.5.0
SPRING_PROFILES=release
### Pinpoint-Collector

View File

@@ -1,6 +1,6 @@
FROM openjdk:11.0.16-jre-slim-buster
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.4.2}
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.0}
ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-collector-boot-${PINPOINT_VERSION}.jar
RUN mkdir -p /pinpoint/config \
@@ -8,8 +8,6 @@ RUN mkdir -p /pinpoint/config \
COPY /build/config/pinpoint-collector.properties /pinpoint/config/
COPY /build/scripts/start-collector.sh /pinpoint/scripts/
#temporary line for local test
#COPY /pinpoint-collector-boot-2.4.2-SNAPSHOT.jar /pinpoint/pinpoint-collector-boot.jar
RUN apt-get update && apt-get install --no-install-recommends -y curl && apt-get clean \
&& chmod a+x /pinpoint/scripts/start-collector.sh \

View File

@@ -0,0 +1,19 @@
FROM openjdk:11.0.16-jre-slim-buster
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.0}
#ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-collector-starter-boot-${PINPOINT_VERSION}.jar
ARG INSTALL_URL=https://github.com/ga-ram/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-collector-starter-boot-2.5.0.jar
RUN mkdir -p /pinpoint/config \
&& mkdir -p /pinpoint/scripts
COPY /build/config/pinpoint-collector.properties /pinpoint/config/
COPY /build/scripts/start-collector-metric.sh /pinpoint/scripts/
RUN apt-get update && apt-get install --no-install-recommends -y curl && apt-get clean \
&& chmod a+x /pinpoint/scripts/start-collector-metric.sh \
&& chmod a+x /pinpoint/config/pinpoint-collector.properties \
&& curl -SL ${INSTALL_URL} -o /pinpoint/pinpoint-collector-boot.jar
ENTRYPOINT ["sh", "/pinpoint/scripts/start-collector-metric.sh"]

View File

@@ -4,6 +4,7 @@
This Docker image contains the Pinpoint Collector component of the Pinpoint application monitoring system.
## Supported Tags
- 2.5.0
- 2.4.2
- 2.4.1
- 2.4.0

View File

@@ -0,0 +1,5 @@
#!/bin/bash
set -e
set -x
exec java -jar /pinpoint/pinpoint-collector-boot.jar --spring.config.additional-location=/pinpoint/config/pinpoint-collector.properties --pinpoint.collector.type=ALL