pinpoint-docker-fork/pinpoint-web/Dockerfile

19 lines
769 B
Docker
Raw Normal View History

2022-07-28 09:24:05 +00:00
FROM openjdk:11.0.16-jre-slim-buster
2018-05-11 09:30:45 +00:00
2023-06-14 02:18:11 +00:00
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.2}
2022-04-20 07:31:50 +00:00
ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-web-boot-${PINPOINT_VERSION}.jar
2018-05-11 09:30:45 +00:00
RUN mkdir -p /pinpoint/config \
&& mkdir -p /pinpoint/scripts
2018-05-11 09:30:45 +00:00
COPY /build/config/pinpoint-web.properties /pinpoint/config/
COPY /build/scripts/start-web.sh /pinpoint/scripts/
2018-05-11 09:30:45 +00:00
2022-07-28 09:24:05 +00:00
RUN apt-get update && apt-get install --no-install-recommends -y curl && apt-get clean \
2020-09-10 13:14:21 +00:00
&& chmod a+x /pinpoint/scripts/start-web.sh \
&& chmod a+x /pinpoint/config/pinpoint-web.properties \
&& curl -SL ${INSTALL_URL} -o /pinpoint/pinpoint-web-boot.jar
#entry point to start-web.sh for future use.
ENTRYPOINT ["sh", "/pinpoint/scripts/start-web.sh"]