Skip to content

Commit db6f602

Browse files
committed
Change docker image to Ubuntu
Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
1 parent 3033a56 commit db6f602

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

images/Dockerfile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
ARG 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/*
66
RUN echo 'hosts: files dns' > /etc/nsswitch.conf
77
RUN mkdir -p /etc/orion-server/config
88
RUN mkdir -p /etc/orion-server/crypto
99
RUN 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/*
1919
ADD . $GOPATH/src/github.com/hyperledger-labs/orion-server
2020
WORKDIR $GOPATH/src/github.com/hyperledger-labs/orion-server
2121

0 commit comments

Comments
 (0)