
Viceroy is a base Docker image which provides a viceroycc binary to cross
compile to multiple architectures. It was designed to help ease the burden of
cross compiling Go projects which have C dependencies.
Viceroy is not very useful on its own; it should be extended to add libraries and other tools needed to build projects.
Viceroy examines the following environment variables to determine which target system to cross-compile for:
VICEROYOS (or GOOS)VICEROYARCH (or GOARCH)VICEROYARM (or GOARM)These environment variables determine which compiler toolchain to use and some
defaults for environment variables (such as LD_LIBRARY_PATH). The environment
variables will default to values appropriate for the worker container's
environment when unspecified.
The following target platforms are currently supported:
| linux | darwin | freebsd | windows | |
|---|---|---|---|---|
| amd64 | x | x | x | x |
| 386 | x | x | x | |
| armv5 | x | |||
| armv6 | x | |||
| armv7 | x | |||
| arm64 | x | x | x | |
| ppc64le | x |
rfratto/viceroy as your Docker base image.CC=viceroycc.VICEROYOS, VICEROYARCH, and VICEROYARM as appropriate.OSX/Darwin/Apple builds: Please ensure you have read and understood the Xcode license terms before continuing.
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务