Skip to content

Commit 586997b

Browse files
Produce multi-platform docker image (#39)
1 parent 899020e commit 586997b

File tree

6 files changed

+15
-10
lines changed

6 files changed

+15
-10
lines changed

.github/workflows/build-dev-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
build-target: 'Docker'
1010
devRelease: true
1111
createTag: true
12+
docker-multi-platform: true
1213
integration-test-enabled: true
1314
docker-username: ${{ github.actor }}
1415
secrets:

.github/workflows/build-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
build-target: 'Docker'
1010
devRelease: false
1111
createTag: true
12+
docker-multi-platform: true
1213
integration-test-enabled: true
1314
docker-username: ${{ github.actor }}
1415
secrets:

.github/workflows/build-snapshot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
uses: th2-net/.github/.github/workflows/compound-java-dev.yml@main
1414
with:
1515
build-target: 'Docker'
16+
docker-multi-platform: true
1617
integration-test-enabled: true
1718
docker-username: ${{ github.actor }}
1819
secrets:

Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
FROM gradle:8.11.1-jdk21 AS build
2-
ARG release_version
3-
COPY ./ .
4-
RUN gradle --no-daemon clean build dockerPrepare \
5-
-Prelease_version=${release_version}
6-
7-
FROM adoptopenjdk/openjdk11:alpine
1+
FROM amazoncorretto:11-alpine-jdk
82
WORKDIR /home
9-
COPY --from=build /home/gradle/build/docker .
3+
COPY ./build/docker .
104
ENTRYPOINT ["/home/service/bin/service"]

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# HTTP Client v2.4.1
1+
# HTTP Client v2.3.2
22

33
This microservice allows performing HTTP requests and receive HTTP responses. It also can perform basic authentication
44

@@ -177,6 +177,14 @@ spec:
177177

178178
## Changelog
179179

180+
### v2.3.2
181+
182+
+ Produce multi-platform docker image
183+
+ migrated to [amazoncorretto:11-alpine-jdk](https://hub.docker.com/layers/library/amazoncorretto/11-alpine-jdk) docker image as base
184+
+ Updated:
185+
+ th2 gradle plugin: `0.3.10` (bom: `4.14.2`)
186+
+ kotlin: `2.2.21`
187+
180188
### v2.3.1
181189

182190
+ Updated:

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
kotlin.code.style=official
2-
release_version=2.3.1
2+
release_version=2.3.2
33
description='HTTP Client'
44
vcs_url=https://github.com/th2-net/th2-conn-http-client

0 commit comments

Comments
 (0)