File tree Expand file tree Collapse file tree 7 files changed +20
-31
lines changed
examples/chaincode/go/utxo Expand file tree Collapse file tree 7 files changed +20
-31
lines changed Original file line number Diff line number Diff line change @@ -354,17 +354,16 @@ chaincode:
354354 # This is the basis for the Golang Dockerfile. Additional commands will
355355 # be appended depedendent upon the chaincode specification.
356356 Dockerfile : |
357- from hyperledger/fabric-baseimage
358- #from utxo:0.1.0
359- COPY src $GOPATH/src
360- WORKDIR $GOPATH
357+ FROM hyperledger/fabric-ccenv:$(ARCH)-$(PROJECT_VERSION)
358+ COPY src $GOPATH/src
359+ WORKDIR $GOPATH
361360
362361 car :
363362
364363 # This is the basis for the CAR Dockerfile. Additional commands will
365364 # be appended depedendent upon the chaincode specification.
366365 Dockerfile : |
367- FROM hyperledger/fabric-baseimage
366+ FROM hyperledger/fabric-ccenv:$(ARCH)-$(PROJECT_VERSION)
368367
369368 # timeout in millisecs for starting up a container and waiting for Register
370369 # to come through. 1sec should be plenty for chaincode unit tests
Original file line number Diff line number Diff line change @@ -178,9 +178,9 @@ chaincode:
178178
179179 # This is the basis for the Golang Dockerfile. Additional commands will be appended depedendent upon the chaincode specification.
180180 Dockerfile : |
181- from hyperledger/fabric-baseimage
182- COPY src $GOPATH/src
183- WORKDIR $GOPATH
181+ FROM hyperledger/fabric-ccenv:$(ARCH)-$(PROJECT_VERSION)
182+ COPY src $GOPATH/src
183+ WORKDIR $GOPATH
184184
185185 # timeout for starting up a container and waiting for Register to come through
186186 startuptimeout : 20000
Original file line number Diff line number Diff line change @@ -296,17 +296,16 @@ chaincode:
296296 # This is the basis for the Golang Dockerfile. Additional commands will
297297 # be appended depedendent upon the chaincode specification.
298298 Dockerfile : |
299- from hyperledger/fabric-baseimage
300- #from utxo:0.1.0
301- COPY src $GOPATH/src
302- WORKDIR $GOPATH
299+ FROM hyperledger/fabric-ccenv:$(ARCH)-$(PROJECT_VERSION)
300+ COPY src $GOPATH/src
301+ WORKDIR $GOPATH
303302
304303 car :
305304
306305 # This is the basis for the CAR Dockerfile. Additional commands will
307306 # be appended depedendent upon the chaincode specification.
308307 Dockerfile : |
309- FROM hyperledger/fabric-ccenv
308+ FROM hyperledger/fabric-ccenv:$(ARCH)-$(PROJECT_VERSION)
310309
311310 # timeout in millisecs for starting up a container and waiting for Register
312311 # to come through. 1sec should be plenty for chaincode unit tests
Original file line number Diff line number Diff line change 1- from hyperledger/fabric-baseimage
1+ # FIXME: someone from the UTXO team will need to verify or rework this
2+ FROM ubuntu:latest
23
34RUN apt-get update && apt-get install pkg-config autoconf libtool -y
45RUN cd /tmp && git clone https://github.com/bitcoin/secp256k1.git && cd secp256k1/
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -240,9 +240,9 @@ chaincode:
240240
241241 # This is the basis for the Golang Dockerfile. Additional commands will be appended depedendent upon the chaincode specification.
242242 Dockerfile : |
243- from hyperledger/fabric-baseimage
244- COPY src $GOPATH/src
245- WORKDIR $GOPATH
243+ FROM hyperledger/fabric-ccenv:$(ARCH)-$(PROJECT_VERSION)
244+ COPY src $GOPATH/src
245+ WORKDIR $GOPATH
246246
247247 # timeout in millisecs for starting up a container and waiting for Register to come through. 1sec should be plenty for chaincode unit tests
248248 startuptimeout : 1000
Original file line number Diff line number Diff line change @@ -282,10 +282,9 @@ chaincode:
282282 # This is the basis for the Golang Dockerfile. Additional commands will
283283 # be appended depedendent upon the chaincode specification.
284284 Dockerfile : |
285- from hyperledger/fabric-baseimage
286- #from utxo:0.1.0
287- COPY src $GOPATH/src
288- WORKDIR $GOPATH
285+ FROM hyperledger/fabric-ccenv:$(ARCH)-$(PROJECT_VERSION)
286+ COPY src $GOPATH/src
287+ WORKDIR $GOPATH
289288
290289 car :
291290
@@ -416,7 +415,7 @@ security:
416415 enabled : false
417416
418417 # TCerts pool configuration. Multi-thread pool can also be configured
419- # by multichannel option switching concurrency in communication with TCA.
418+ # by multichannel option switching concurrency in communication with TCA.
420419 multithreading :
421420 enabled : false
422421 multichannel : false
You can’t perform that action at this time.
0 commit comments