提交 1928ce96 编写于 作者: 6 635677437d755007c09848d3

use tiny image

上级 722379aa
......@@ -3,7 +3,12 @@ if [ ! -f /usr/bin/pip3.8 ]; then
fi
if [ ! -f /usr/bin/docker ]; then
curl -fsSL https://get.docker.com | sh --mirror Aliyun
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://o4omo0yw.mirror.aliyuncs.com"]
}
EOF
service docker start
fi
......
FROM golang:latest
RUN useradd -s /bin/bash -m -l user
USER user
WORKDIR /home/user
\ No newline at end of file
FROM golang:1.18-alpine
\ No newline at end of file
FROM python:latest
RUN useradd -s /bin/bash -m -l user
USER user
WORKDIR /home/user
FROM python:3.7-alpine
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册