Unverified Commit 43b9279d authored by flyer's avatar flyer Committed by GitHub
Browse files

Merge pull request #788 from leozhang2018/fix-git-version-1.7.0

Revert ubuntu-xenial.Dockerfile changed
No related merge requests found
Showing with 31 additions and 0 deletions
+31 -0
FROM ubuntu:xenial
# 修改镜像源和时区
RUN sed -i -E "s/[a-zA-Z0-9]+.ubuntu.com/mirrors.aliyun.com/g" /etc/apt/sources.list \
&& apt-get clean && apt-get update && apt-get install -y apt-transport-https ca-certificates \
&& apt-get install -y \
tzdata \
net-tools \
dnsutils \
ca-certificates \
git \
curl \
lsof \
telnet \
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& rm -rf /var/lib/apt/lists/*
FROM arm64v8/ubuntu:xenial
# 修改镜像源和时区
RUN sed -i -E "s/[a-zA-Z0-9]+.ubuntu.com/mirrors.aliyun.com/g" /etc/apt/sources.list \
&& apt-get clean && apt-get update && apt-get install -y apt-transport-https ca-certificates \
&& apt-get install -y \
tzdata \
net-tools \
dnsutils \
ca-certificates \
git \
curl \
lsof \
telnet \
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& rm -rf /var/lib/apt/lists/*
......@@ -10,6 +10,7 @@ RUN sed -i s:http:https:g /etc/apt/sources.list
RUN DEBIAN_FRONTEND=noninteractive apt install -y tzdata
RUN apt-get clean && apt-get update && apt-get install -y \
curl \
git \
netcat-openbsd \
wget \
build-essential \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment