Skip to content

Commit c5061f6

Browse files
author
Luis Sanchez
committed
[FAB-2500] Use array form of CMD in Dockerfile
Change-Id: Ic877cb08e7f342a92272124873fc86b54e7a089b Signed-off-by: Luis Sanchez <[email protected]>
1 parent 9a09ac0 commit c5061f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

images/orderer/Dockerfile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ COPY payload/configtx.yaml $ORDERER_CFG_PATH/
88
COPY payload/orderer.yaml $ORDERER_CFG_PATH/
99
ADD payload/msp-sampleconfig.tar.bz2 $ORDERER_CFG_PATH/
1010
EXPOSE 7050
11-
CMD orderer
11+
CMD ["orderer"]

images/peer/Dockerfile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ COPY payload/peer /usr/local/bin
66
COPY payload/core.yaml $PEER_CFG_PATH
77
ADD payload/msp-sampleconfig.tar.bz2 $PEER_CFG_PATH
88
ADD payload/configtx.yaml $PEER_CFG_PATH
9-
CMD peer node start
9+
CMD ["peer","node","start"]

0 commit comments

Comments
 (0)