Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a more suitable base-image for Dockerfile #29

Open
jnan806 opened this issue Nov 25, 2022 · 1 comment
Open

Use a more suitable base-image for Dockerfile #29

jnan806 opened this issue Nov 25, 2022 · 1 comment
Labels
help wanted Extra attention is needed kind/enhancement Category issues or PRs related to enhancement.

Comments

@jnan806
Copy link
Collaborator

jnan806 commented Nov 25, 2022

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 的.

@jnan806 jnan806 added kind/enhancement Category issues or PRs related to enhancement. help wanted Extra attention is needed labels Nov 25, 2022
@wilsonwu
Copy link

wilsonwu commented Dec 2, 2022

Suggest for two types of image, one is by common image with some tools, another is alpine or slim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed kind/enhancement Category issues or PRs related to enhancement.
Projects
None yet
Development

No branches or pull requests

2 participants