mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Update to the latest github.com/hyperledger/fabric-contract-api-go Signed-off-by: James Taylor <jamest@uk.ibm.com>
17 lines
333 B
Docker
17 lines
333 B
Docker
# Copyright IBM Corp. All Rights Reserved.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
ARG GO_VER=1.13.8
|
|
ARG ALPINE_VER=3.10
|
|
|
|
FROM golang:${GO_VER}-alpine${ALPINE_VER}
|
|
|
|
WORKDIR /go/src/github.com/hyperledger/fabric-samples/chaincode/fabcar/external
|
|
COPY . .
|
|
|
|
RUN go get -d -v ./...
|
|
RUN go install -v ./...
|
|
|
|
EXPOSE 9999
|
|
CMD ["external"]
|