Use a more suitable base-image for Dockerfile
jnan806 opened this issue · comments
Issue Description
Type: feature request
Describe what feature you want
The Current base-image in Dockerfile is the ** alpine **
, and this image lacks some useful tools for developer to debug.
So, It is necessary to use the base-image with its own basic tools,
for example: centos-based, with some basic tools.
--
当前 Dockfile 中使用的基础镜像是 基于 alpine
的,它是基于 musl 构建的镜像,在第三方软件的适配上与通用的 glibc 构建的镜像(例如busybox等)是有一定差距的。另外,当前使用的基础镜像,是轻量级(瘦身版)的,缺少一些基础的调试工具,对于开发者来说不是特别友好。
所以,使用轻量级别的(瘦身版的)
、各个架构操作系统通用的
、带有基础调试工具的
基础镜像(例如基于 Centos 的 附带基础工具的轻量级镜像)作为 base-image 还是有必要的。
Additional context
Now, at the current time, it is OK for only supporting to Linux/amd64.
Of course, it is perfect to supporting muti-arch
--
当前阶段,我们制作的镜像可以只支持 Linux/amd64 架构,
当然,如果能够支持多架构是非常 perfect 的.
Suggest for two types of image, one is by common image with some tools, another is alpine or slim.