Skip to content

Commit 86ddd47

Browse files
author
seungh0
committed
chore: update base image from openjdk to eclipse-temurin
1 parent 10f32c0 commit 86ddd47

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

threedollar-application/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Step1: Build
2-
FROM openjdk:17-alpine AS build
2+
FROM eclipse-temurin:17-jdk-alpine AS build
33
ENV HOME=/app
44
WORKDIR $HOME
55
COPY . $HOME
66
RUN ./gradlew clean :threedollar-application:bootJar
77

88
# Step2: Install Pinpoint agent
9-
FROM openjdk:17-alpine AS pinpoint
9+
FROM eclipse-temurin:17-jdk-alpine AS pinpoint
1010
WORKDIR /app/pinpoint-agent
1111
ENV PINPOINT_VERSION=2.5.4
1212
RUN apk add --no-cache curl unzip && \
@@ -15,7 +15,7 @@ RUN apk add --no-cache curl unzip && \
1515
rm pinpoint-agent-${PINPOINT_VERSION}.tar.gz
1616

1717
# Step3: Run
18-
FROM openjdk:17-alpine
18+
FROM eclipse-temurin:17-jdk-alpine
1919
WORKDIR /app
2020
ARG PROFILE
2121
ARG COLLECTOR_IP

0 commit comments

Comments
 (0)