Skip to content

Commit

Permalink
[fix] DockerFile 방식에서 jib 방식으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ggamD00 committed Jul 24, 2024
1 parent 95ae8c1 commit 2acaf0b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
11 changes: 0 additions & 11 deletions DockerFile

This file was deleted.

19 changes: 19 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
id 'java'
id 'org.springframework.boot' version '3.2.7'
id 'io.spring.dependency-management' version '1.1.5'
id 'com.google.cloud.tools.jib' version '3.4.1'
}

group = 'com.bbteam'
Expand Down Expand Up @@ -38,3 +39,21 @@ dependencies {
tasks.named('test') {
useJUnitPlatform()
}

jib {
from {
image = 'openjdk:17-alpine'
platforms {
platform {
architecture = 'amd64'
os = 'linux'
}
}
}
to {
image = 'binjumeoniz/binjumeoniz:latest'
}
container {
jvmFlags = ['-Dspring.profiles.active=dev']
}
}

0 comments on commit 2acaf0b

Please sign in to comment.