File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 19
19
ARG GO_VER
20
20
ARG UBUNTU_VER
21
21
22
- FROM ubuntu:${UBUNTU_VER} as base
22
+ FROM ubuntu:${UBUNTU_VER} AS base
23
23
24
24
RUN apt update && apt install -y \
25
25
tzdata
Original file line number Diff line number Diff line change 21
21
# ##############################################################################
22
22
23
23
ARG UBUNTU_VER
24
- FROM ubuntu:${UBUNTU_VER} as builder
24
+ FROM ubuntu:${UBUNTU_VER} AS builder
25
25
26
26
ARG TARGETARCH
27
27
ARG TARGETOS
@@ -57,8 +57,8 @@ ARG FABRIC_VER
57
57
# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
58
58
RUN echo 'hosts: files dns' > /etc/nsswitch.conf
59
59
60
- ENV FABRIC_CFG_PATH /etc/hyperledger/fabric
61
- ENV FABRIC_VER ${FABRIC_VER}
60
+ ENV FABRIC_CFG_PATH= /etc/hyperledger/fabric
61
+ ENV FABRIC_VER= ${FABRIC_VER}
62
62
63
63
COPY --from=builder build/bin/orderer /usr/local/bin
64
64
COPY --from=builder sampleconfig/msp ${FABRIC_CFG_PATH}/msp
Original file line number Diff line number Diff line change 21
21
# ##############################################################################
22
22
23
23
ARG UBUNTU_VER
24
- FROM ubuntu:${UBUNTU_VER} as builder
24
+ FROM ubuntu:${UBUNTU_VER} AS builder
25
25
26
26
ARG TARGETARCH
27
27
ARG TARGETOS
@@ -60,8 +60,8 @@ ARG FABRIC_VER
60
60
# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
61
61
RUN echo 'hosts: files dns' > /etc/nsswitch.conf
62
62
63
- ENV FABRIC_CFG_PATH /etc/hyperledger/fabric
64
- ENV FABRIC_VER ${FABRIC_VER}
63
+ ENV FABRIC_CFG_PATH= /etc/hyperledger/fabric
64
+ ENV FABRIC_VER= ${FABRIC_VER}
65
65
66
66
COPY --from=builder build/bin/peer /usr/local/bin
67
67
COPY --from=builder sampleconfig/msp ${FABRIC_CFG_PATH}/msp
You can’t perform that action at this time.
0 commit comments