This repository has been archived by the owner on Sep 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #127 from SubstraFoundation/hlf-2
Hyperledger Fabric 2.x chaincode container
- Loading branch information
Showing
23 changed files
with
105 additions
and
528 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM golang:1.13.8-alpine AS build | ||
|
||
COPY ./chaincode /go/src/github.com/chaincode | ||
WORKDIR /go/src/github.com/chaincode | ||
|
||
# Build application | ||
RUN go build -o chaincode -v . | ||
|
||
# Production ready image | ||
# Pass the binary to the prod image | ||
FROM alpine:3.11 as prod | ||
|
||
COPY --from=build /go/src/github.com/chaincode/chaincode /app/chaincode | ||
|
||
USER 1000 | ||
|
||
WORKDIR /app | ||
CMD ./chaincode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
chaincode-docker-devmode/msp/tlsintermediatecerts/tlsintermediate.pem
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.