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 <lehors@us.ibm.com>
This commit is contained in:
Arnaud J Le Hors 2022-07-29 15:02:20 +02:00 committed by Dave Enyeart
parent bfe8f6e04d
commit 6ede244d2b

View file

@ -1,5 +1,5 @@
# the first stage # 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 the build.gradle and src code to the container
COPY src/ src/ COPY src/ src/