398 Star 3.7K Fork 1.3K

Kenny小狼/docker

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 508 Bytes
一键复制 编辑 原始数据 按行查看 历史
KennyLee 提交于 2020-09-13 15:49 +08:00 . 抽下风,修改下名字
FROM alpine/git
MAINTAINER kennylee <kennylee26@gmail.com>
# 使用阿里云镜像
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
# Install base packages
RUN apk --no-cache update && \
apk --no-cache upgrade && \
apk --no-cache add curl bash tzdata tar unzip && \
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
echo "Asia/Shanghai" > /etc/timezone && \
rm -fr /tmp/* /var/cache/apk/*
# Define bash as default command
CMD ["/bin/bash"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Docker
1
https://gitee.com/kennylee/docker.git
git@gitee.com:kennylee/docker.git
kennylee
docker
docker
master

搜索帮助