Commit 79b70e4 1 parent fb6f59b commit 79b70e4 Copy full SHA for 79b70e4
File tree 7 files changed +20
-31
lines changed
examples/chaincode/go/utxo
7 files changed +20
-31
lines changed Original file line number Diff line number Diff line change @@ -354,17 +354,16 @@ chaincode:
354
354
# This is the basis for the Golang Dockerfile. Additional commands will
355
355
# be appended depedendent upon the chaincode specification.
356
356
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
361
360
362
361
car :
363
362
364
363
# This is the basis for the CAR Dockerfile. Additional commands will
365
364
# be appended depedendent upon the chaincode specification.
366
365
Dockerfile : |
367
- FROM hyperledger/fabric-baseimage
366
+ FROM hyperledger/fabric-ccenv:$(ARCH)-$(PROJECT_VERSION)
368
367
369
368
# timeout in millisecs for starting up a container and waiting for Register
370
369
# 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:
178
178
179
179
# This is the basis for the Golang Dockerfile. Additional commands will be appended depedendent upon the chaincode specification.
180
180
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
184
184
185
185
# timeout for starting up a container and waiting for Register to come through
186
186
startuptimeout : 20000
Original file line number Diff line number Diff line change @@ -296,17 +296,16 @@ chaincode:
296
296
# This is the basis for the Golang Dockerfile. Additional commands will
297
297
# be appended depedendent upon the chaincode specification.
298
298
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
303
302
304
303
car :
305
304
306
305
# This is the basis for the CAR Dockerfile. Additional commands will
307
306
# be appended depedendent upon the chaincode specification.
308
307
Dockerfile : |
309
- FROM hyperledger/fabric-ccenv
308
+ FROM hyperledger/fabric-ccenv:$(ARCH)-$(PROJECT_VERSION)
310
309
311
310
# timeout in millisecs for starting up a container and waiting for Register
312
311
# 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
2
3
3
4
RUN apt-get update && apt-get install pkg-config autoconf libtool -y
4
5
RUN 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:
240
240
241
241
# This is the basis for the Golang Dockerfile. Additional commands will be appended depedendent upon the chaincode specification.
242
242
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
246
246
247
247
# timeout in millisecs for starting up a container and waiting for Register to come through. 1sec should be plenty for chaincode unit tests
248
248
startuptimeout : 1000
Original file line number Diff line number Diff line change @@ -282,10 +282,9 @@ chaincode:
282
282
# This is the basis for the Golang Dockerfile. Additional commands will
283
283
# be appended depedendent upon the chaincode specification.
284
284
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
289
288
290
289
car :
291
290
@@ -416,7 +415,7 @@ security:
416
415
enabled : false
417
416
418
417
# 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.
420
419
multithreading :
421
420
enabled : false
422
421
multichannel : false
You can’t perform that action at this time.
0 commit comments