Skip to content

Commit

Permalink
[FAB-13097] Adding shim 1.3.0 to docker image
Browse files Browse the repository at this point in the history
To make possible to compile 1.3.0 chaincodes

Change-Id: I2de5758945260f0de8ded7d8407ad76ff0c4cbf7
Signed-off-by: gennady <[email protected]>
  • Loading branch information
gennadylaventman authored and C0rWin committed Jan 1, 2019
1 parent b22858b commit cc76d2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fabric-chaincode-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ WORKDIR /root/chaincode-java/example-src/fabric-chaincode-example-maven
RUN mvn compile package
WORKDIR /root/chaincode-java

# Adding shim 1.3.0 jar
RUN source /root/.sdkman/bin/sdkman-init.sh; mvn dependency:get -DgroupId=org.hyperledger.fabric-chaincode-java -DartifactId=fabric-chaincode-shim -Dversion=1.3.0 -DremoteRepositoriescentral::default::https://nexus.hyperledger.org/content/repositories/releases

#Removing non-needed sources
RUN rm -rf example-src
RUN rm -rf shim-src
Expand Down

0 comments on commit cc76d2f

Please sign in to comment.