secretflow icon indicating copy to clipboard operation
secretflow copied to clipboard

secretflow docker image在公司内部扫描显示docker file里有chinese characters

Open Bell-Fintech opened this issue 1 year ago • 6 comments

Issue Type

Build/Install

Source

binary

Secretflow Version

secretflow-anolis8:1.5.0b0

OS Platform and Distribution

centsos 8.0

Python version

3.9

Bazel version

No response

GCC/Compiler version

No response

What happend and What you expected to happen.

当我们把dockerhub的secretflow-anolis8:1.5.0b0镜像拉到我们公司内部做安全扫描时,经过公司内部安全团队同事判别,这个镜像在扫描时遇到encoding characters error,麻烦帮忙check下这个问题

Reproduction code to reproduce the issue.

None

Bell-Fintech avatar May 14 '24 01:05 Bell-Fintech

@Bell-Fintech hey 是这样的,因为我们的镜像的 dockerfile 里面打包了组件的中文翻译

Chrisdehe avatar May 14 '24 02:05 Chrisdehe

@Bell-Fintech hey

是这样的,因为我们的镜像的 dockerfile 里面打包了组件的中文翻译

你好,请问这种可以暂时规避吗?目前汇丰在引用这个到内部的时候一直卡在安全扫描这一步

Bell-Fintech avatar May 14 '24 03:05 Bell-Fintech

您可以通过自行打包docker镜像来规避安全扫描问题的

Chrisdehe avatar May 14 '24 03:05 Chrisdehe

您可以通过自行打包docker镜像来规避安全扫描问题的

请问可以share下dockerfile吗,我们自己内部打包一下

Bell-Fintech avatar May 14 '24 04:05 Bell-Fintech

打包脚本参考:https://github.com/secretflow/secretflow/blob/main/docker/release/build.sh dockerfile参考:https://github.com/secretflow/secretflow/blob/main/docker/release/anolis-lite.Dockerfile

Chrisdehe avatar May 14 '24 08:05 Chrisdehe

打包脚本参考:https://github.com/secretflow/secretflow/blob/main/docker/release/build.sh

dockerfile参考:https://github.com/secretflow/secretflow/blob/main/docker/release/anolis-lite.Dockerfile

好的,感谢

Bell-Fintech avatar May 14 '24 11:05 Bell-Fintech

Stale issue message. Please comment to remove stale tag. Otherwise this issue will be closed soon.

github-actions[bot] avatar Jun 14 '24 09:06 github-actions[bot]