Skip to content

Commit e2cbd24

Browse files
author
lanceplarsen
committed
add curl
1 parent cdbb043 commit e2cbd24

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
FROM openjdk:12-alpine
22

3-
COPY ./build/libs/spring-boot-payments-0.0.15.jar .
3+
RUN apk add curl
44

5-
CMD ["java", "-jar", "./spring-boot-payments-0.0.15.jar"]
5+
COPY ./build/libs/spring-boot-payments-0.0.16.jar .
6+
7+
CMD ["java", "-jar", "./spring-boot-payments-0.0.16.jar"]

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ clean:
66

77
run:
88
./gradlew build
9-
java -jar build/libs/spring-boot-payments-0.0.15.jar
9+
java -jar build/libs/spring-boot-payments-0.0.16.jar
1010

1111
build_docker:
12-
docker build -t hashicorpdemoapp/payments:v0.0.15 .
12+
docker build -t hashicorpdemoapp/payments:v0.0.16 .
1313

1414
push_docker: build_docker
15-
docker push hashicorpdemoapp/payments:v0.0.15
15+
docker push hashicorpdemoapp/payments:v0.0.16

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ext['log4j2.version'] = '2.16.0'
2727

2828
bootJar {
2929
archiveBaseName = 'spring-boot-payments'
30-
archiveVersion = '0.0.15'
30+
archiveVersion = '0.0.16'
3131
}
3232

3333
dependencies {
@@ -55,4 +55,4 @@ dependencyManagement {
5555
imports {
5656
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
5757
}
58-
}
58+
}

0 commit comments

Comments
 (0)