forked from trustbloc/fabric-mod
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-11096] Use Alpine for Docker images
Please not that Node CC will not work with this CR. The plan is to add a fabric-nodeenv image to the fabric-chaincode-node build. Change-Id: Ic3cb6d7bcc0f5b644a43cd3cd8c600c2af479d2e Signed-off-by: Gari Singh <[email protected]>
- Loading branch information
1 parent
82df1c9
commit fdd1c72
Showing
24 changed files
with
292 additions
and
214 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
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
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
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
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,35 @@ | ||
# Copyright IBM Corp. All Rights Reserved. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
ARG GO_VER | ||
ARG ALPINE_VER | ||
FROM golang:${GO_VER}-alpine${ALPINE_VER} as golang | ||
RUN apk add --no-cache \ | ||
gcc \ | ||
musl-dev \ | ||
git \ | ||
bash \ | ||
curl \ | ||
make; | ||
ADD . $GOPATH/src/github.com/hyperledger/fabric | ||
WORKDIR $GOPATH/src/github.com/hyperledger/fabric | ||
ENV EXECUTABLES go git curl | ||
RUN make gotools | ||
|
||
FROM golang:${GO_VER}-alpine | ||
|
||
RUN apk add --no-cache \ | ||
gcc \ | ||
musl-dev \ | ||
git \ | ||
bash \ | ||
protobuf-dev \ | ||
libtool \ | ||
make; | ||
COPY --from=golang /go/bin /usr/local/bin | ||
ENV GOCACHE "/tmp" | ||
|
||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.