From 6ede244d2bfa5088ec483463fa25444f646fee2e Mon Sep 17 00:00:00 2001 From: Arnaud J Le Hors Date: Fri, 29 Jul 2022 15:02:20 +0200 Subject: [PATCH] Use alpine based gradle image to build basic transfer java CC container This changes the base image used to build the chaincode-as-a-service java container to the alpine version which is sufficient and less taxing than using the full gradle:jdk11 one. Signed-off-by: Arnaud J Le Hors --- asset-transfer-basic/chaincode-java/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asset-transfer-basic/chaincode-java/Dockerfile b/asset-transfer-basic/chaincode-java/Dockerfile index ca543d67..dba568af 100755 --- a/asset-transfer-basic/chaincode-java/Dockerfile +++ b/asset-transfer-basic/chaincode-java/Dockerfile @@ -1,5 +1,5 @@ # the first stage -FROM gradle:jdk11 AS GRADLE_BUILD +FROM gradle:jdk11-alpine AS GRADLE_BUILD # copy the build.gradle and src code to the container COPY src/ src/