[#143] Multi architecture support

This commit is contained in:
ga-ram
2022-07-28 18:24:05 +09:00
parent e5dd77dd36
commit e48f29a985
6 changed files with 13 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
FROM adoptopenjdk/openjdk11:jdk-11.0.14.1_1-alpine-slim
FROM openjdk:11.0.16-jre-slim-buster
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.4.0}
ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-web-boot-${PINPOINT_VERSION}.jar
@@ -11,7 +11,7 @@ COPY /build/scripts/start-web.sh /pinpoint/scripts/
#temporary line for local test
#COPY /pinpoint-web-boot-2.4.0-SNAPSHOT.jar /pinpoint/pinpoint-web-boot.jar
RUN apk --no-cache add curl \
RUN apt-get update && apt-get install --no-install-recommends -y curl && apt-get clean \
&& 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