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
parent 41717d76f2
commit 5b8115d4c6
No known key found for this signature in database
GPG key ID: 2FEED0EB49CB124A

View file

@ -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/