基于官方Drone-CI 的alpine版本asia亚洲时区构建支持. Drone-CI based alpine Timezone Build
基于官方Drone-CI 的alpine版本最简化添加亚洲时区Dockerfile构建支持.
iotd@Github: drone-ci-based-alpine-timezone-build
如添加其他基于alpine os的images镜像添加亚洲时区包支持,修改一下Dockerfile文件FROM
即可。
-
Drone-CI 容器版本建立在alpine OS上,alpine对相关时区设置没有提供相对完整的支持(如Asia/Shanghai),导致通过环境变量设置和文件挂载时区文件
/etc/localtime
设置无效的问题,这是一个比较简单的解决方案。 -
Drone-CI 基于alpine os时区(亚洲/上海)构建Dockerfile。Drone-CI( drone/drone,drone/agent)
-
最简化修改。
docker iamges
REPOSITORY | TAG |
---|---|
drone/agent | timezone-asia |
drone/drone | timezone-asia |
注意事项
- Dockerfile多级构建。
- Docker版本>=17.05
- 建议您指定一个docker 镜像tag版本号标签
联系
- 网站: //wdft.com
- 网: labsec
- QQ: 404691073
- 电子邮件:[email protected]
欢迎交流和学习。😊
Drone-CI based alpine Timezone Build
-
Drone-CI is officially built on alpine OS,Alpine does not provide relatively complete support for the relevant time zone Settings(such as Asia/Shanghai), which is a simpler solution.
-
drone ci based alpine os timezone(Asia/shanghai) build Dockerfile. Drone-CI( drone/drone,drone/agent )
-
Minimal modification.
docker images
REPOSITORY | TAG |
---|---|
drone/agent | timezone-asia |
drone/drone | timezone-asia |
Matters needing attention
- Dockerfile Multi Stage build.
- Docker version >=17.05
- It is recommended that you specify a docker image tag version number build
Contact
- site: wdft.com
- Webchat: labsec
- QQ:404691073
- Email: [email protected]
Welcome to communicate and study.😊
iotd@Github: drone-ci-based-alpine-timezone-build