File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 11ARG GO_VER=1.19
2- ARG ALPINE_VER=3.17
2+ ARG UBUNTU_VER=20.04
33
4- FROM alpine :${ALPINE_VER } as orion-base
5- RUN apk add -- no-cache tzdata
4+ FROM ubuntu :${UBUNTU_VER } as orion-base
5+ RUN apt-get update && apt-get install -y -- no-install-recommends tzdata && rm -rf /val/lib/apt/lists/*
66RUN echo 'hosts: files dns' > /etc/nsswitch.conf
77RUN mkdir -p /etc/orion-server/config
88RUN mkdir -p /etc/orion-server/crypto
99RUN mkdir -p /var/orion-server/ledger
1010
11- FROM golang:${GO_VER}-alpine${ALPINE_VER} as golang
12- RUN apk add -- no-cache \
13- bash \
14- binutils-gold \
15- gcc \
16- git \
17- make \
18- musl-dev
11+ FROM golang:${GO_VER} as golang
12+ RUN apt-get update && apt-get install -y -- no-install-recommends \
13+ bash \
14+ binutils-gold \
15+ gcc \
16+ git \
17+ make \
18+ musl-dev && rm -rf /val/lib/apt/lists/*
1919ADD . $GOPATH/src/github.com/hyperledger-labs/orion-server
2020WORKDIR $GOPATH/src/github.com/hyperledger-labs/orion-server
2121
You can’t perform that action at this time.
0 commit comments