[fix] 更新alpine基础版本为3.11

This commit is contained in:
2020-04-02 10:49:01 +08:00
parent 167ca32197
commit 7eab4e16fc
3 changed files with 11 additions and 7 deletions
+3
View File
@@ -1 +1,4 @@
.git
.gitignore
README.md
LICENSE
+3 -3
View File
@@ -1,8 +1,8 @@
FROM alpine:3.6
FROM alpine:3.11
MAINTAINER Endial Fang ( endial@126.com )
RUN echo "http://mirrors.ustc.edu.cn/alpine/v3.6/main" >> /etc/apk/repositories \
&& echo "http://mirrors.ustc.edu.cn/alpine/v3.6/community" >> /etc/apk/repositories
RUN echo "http://mirrors.ustc.edu.cn/alpine/v3.11/main" >> /etc/apk/repositories \
&& echo "http://mirrors.ustc.edu.cn/alpine/v3.11/community" >> /etc/apk/repositories
CMD []
+5 -4
View File
@@ -6,7 +6,8 @@
## 历史版本
* v3.6, latest: 当前版本,基于Alpine 3.6
* v3.11, latest: 基于Alpine 3.11
* v3.6: 基于Alpine 3.6
* v3.5: 基于Alpine 3.5
@@ -14,7 +15,7 @@
## 基本信息
* 镜像地址:endial/base-alpine:v3.6
* 镜像地址:endial/base-alpine:v3.11
* 依赖镜像:alpine
@@ -33,7 +34,7 @@
启动命令
```
docker run --rm --name test -d endial/base-alpine:v3.6 tail /dev/stderr
docker run --rm --name test -d endial/base-alpine:v3.11 tail /dev/stderr
```
@@ -51,7 +52,7 @@ docker exec -it test /bin/sh
启动命令
```
docker run --rm --name test -it endial/base-alpine:v3.6 /bin/sh
docker run --rm --name test -it endial/base-alpine:v3.11 /bin/sh
```