Skip to content

Commit

Permalink
Fix image names in Dockerfile (#325)
Browse files Browse the repository at this point in the history
Signed-off-by: Mark S. Lewis <[email protected]>
  • Loading branch information
bestbeforetoday authored Dec 7, 2023
1 parent 8bf123a commit 68a1ef2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fabric-chaincode-docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin: 11.0.21_9-jdk as builder
FROM eclipse-temurin:11.0.21_9-jdk as builder
ENV DEBIAN_FRONTEND=noninteractive

# Build tools
Expand All @@ -13,7 +13,7 @@ SHELL ["/bin/bash", "-c"]
RUN source /root/.sdkman/bin/sdkman-init.sh; sdk install gradle 7.6.3
RUN source /root/.sdkman/bin/sdkman-init.sh; sdk install maven 3.9.5

FROM eclipse-temurin: 11.0.21_9-jdk as dependencies
FROM eclipse-temurin:11.0.21_9-jdk as dependencies

COPY --from=builder /root/.sdkman/candidates/gradle/current /usr/bin/gradle
COPY --from=builder /root/.sdkman/candidates/maven/current /usr/bin/maven
Expand Down Expand Up @@ -53,7 +53,7 @@ RUN mvn -N io.takari:maven:wrapper

# Creating final javaenv image which will include all required
# dependencies to build and compile java chaincode
FROM eclipse-temurin: 11.0.21_9-jdk
FROM eclipse-temurin:11.0.21_9-jdk

RUN apt-get update \
&& apt-get -y install zip unzip \
Expand Down

0 comments on commit 68a1ef2

Please sign in to comment.