Sign inSign up

rubenfunai/aliyun-cli

By rubenfunai

•Updated about 5 years ago

Multi-architecture Alpine Linux compiled Aliyun CLI

Image
0

10K+

rubenfunai/aliyun-cli repository overview

⁠Aliyun CLI (Alpine Linux)

pipeline status Docker Image Version (latest by date) Docker Pulls Docker Image Size (tag)⁠

This docker image contains the Alpine Linux compiled Aliyun CLI binary (Alibaba Cloud Command Line Interface).

⁠Usage (CLI)

You may use the CLI like so:

docker run rubenfunai/aliyun-cli oss ls \
  --mode AK \
  --region cn-beijing \
  --access-key-id xxxx \
  --access-key-secret xxxx

⁠Usage (Dockerfile)

If you need to use the binary from within your Docker image, you may copy it in like so:

FROM rubenfunai/aliyun-cli:latest as aliyun-cli-image

FROM alpine:latest

COPY --from=aliyun-cli-image /usr/local/bin/aliyun /usr/local/bin/aliyun

⁠Build details

Every 4 hours, new versions are checked for and built into images.
The newest version is applied the latest tag.

Aliyun CLI Source: https://github.com/aliyun/aliyun-cli⁠
CI/CD Source: https://gitlab.com/ruben-funai/aliyun-cli-docker⁠
Docker Hub: https://hub.docker.com/r/rubenfunai/aliyun-cli⁠

⁠Motivation

The Aliyun CLI binaries provided by Aliyun have been compiled using the GNU C Library (glibc)⁠. Alpine Linux uses musl libc⁠ rather than glibc and so the binaries provided by Aliyun will not run on Alpine Linux. Use these images to copy in the Aliyun binary for use in your Alpine Linux based images.

The Aliyun CLI binaries provided by Aliyun are only compiled for amd64. This repo aims to provide images containing the binary built for other architectures as well (arm32v7, arm64v8, ppc64le and i386).

⁠Issues and/or Suggestions

Create a new issue here⁠.

Tag summary

Content type

Image

Digest

Size

10 MB

Last updated

about 5 years ago

docker pull rubenfunai/aliyun-cli:3.0.91-arm64v8