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

[35] - packaging #77

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

wang-jiaolong
Copy link

No description provided.

@wang-jiaolong wang-jiaolong linked an issue Jan 1, 2025 that may be closed by this pull request
Copy link

@TsnumiDC TsnumiDC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

辛苦酌情采纳

CMD ["<executable-name>"]
```

Note the above uses `gcr.io/distroless/cc-debian10` as the runtime image which should work for Swift programs that do not use `FoundationNetworking` or `FoundationXML`. In order to provide more complete support we (the community) could put in a PR into distroless to introduce a base image for Swift that includes `libcurl` and `libxml` which are required for `FoundationNetworking` and `FoundationXML` respectively.
注意,上述使用 `gcr.io/distroless/cc-debian10` 作为运行时镜像,这对于不使用 `FoundationNetworking` 或 `FoundationXML` 的 Swift 程序应该有效。为了提供更完整的支持,我们(社区)可以向 distroless 提交 PR,引入一个包含 `libcurl` 和 `libxml` 的 Swift 基础镜像,分别用于 `FoundationNetworking` 和 `FoundationXML`。


## Archive (Tarball, ZIP file, etc.)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Archive 有没有必要翻译一下

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这一行也翻译了下 看这样ok不

归档(Tarball、 ZIP 文件等)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

/documentation/server/guides/packaging.md
2 participants