Skip to content

Commit

Permalink
🔧 chore : 도커 파일 수정
Browse files Browse the repository at this point in the history
도커 파일에서 jdk 버전을 apt-get을 사용할수 있도록  변경하였습니다.
  • Loading branch information
seoshinehyo committed Feb 10, 2025
1 parent f704109 commit 9cf17e7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
FROM openjdk:21
FROM openjdk:21-jdk-slim

# 크롬 설치
RUN yum update -y && yum install -y wget curl unzip \
&& wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm \
&& yum install -y ./google-chrome-stable_current_x86_64.rpm \
&& rm ./google-chrome-stable_current_x86_64.rpm \
&& yum clean all
RUN apt-get update && apt-get install -y wget curl unzip \
&& wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
&& apt-get install -y ./google-chrome-stable_current_amd64.deb \
&& rm ./google-chrome-stable_current_amd64.deb \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# JAR 파일 복사 및 실행
ARG JAR_FILE=build/libs/*.jar
Expand Down

0 comments on commit 9cf17e7

Please sign in to comment.