public

pcli (latest)

Published 2024-10-31 17:34:39 +07:00 by devops

Installation

docker pull git.thuanle.me/public/pcli:latest
sha256:0570fe3ec8faabde07d18bb22e39207cb9f9f9baac59c5206ddcd30bbef83d40

Images

Digest OS / Arch Size
d688ac8429 linux/amd64 37 MiB
96da25888e linux/arm64 36 MiB
9ea6a885fa linux/arm/v7 34 MiB

Image Layers ( linux/amd64)

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:34dc4f3ab7a694ecde47ff7a610be18591834c45f1d7251813267798412604e5 in /
CMD ["/bin/bash"]
RUN /bin/sh -c apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* # buildkit
WORKDIR /app
RUN /bin/sh -c arch=$(uname -m) && if [ "$arch" = "x86_64" ]; then curl -L -o pawns-cli https://cdn.pawns.app/download/cli/latest/linux_x86_64/pawns-cli; elif [ "$arch" = "armv7l" ]; then curl -L -o pawns-cli https://cdn.pawns.app/download/cli/latest/linux_armv7l/pawns-cli; elif [ "$arch" = "aarch64" ]; then curl -L -o pawns-cli https://cdn.pawns.app/download/cli/latest/linux_aarch64/pawns-cli; elif [ "$arch" = "armv6l" ]; then curl -L -o pawns-cli https://cdn.pawns.app/download/cli/latest/linux_armv6l/pawns-cli; elif [ "$arch" = "armv5l" ]; then curl -L -o pawns-cli https://cdn.pawns.app/download/cli/latest/linux_armv5l/pawns-cli; elif [ "$arch" = "i386" ]; then curl -L -o pawns-cli https://cdn.pawns.app/download/cli/latest/linux_i386/pawns-cli; else echo "Unsupported architecture"; exit 1; fi && chmod +x pawns-cli # buildkit
CMD ["/bin/sh" "-c" "./pawns-cli -email=\"$EMAIL\" -password=\"$PASSWORD\" -device-name=\"$DEVICE_NAME\" -accept-tos"]

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 24.04
Details
Container
2024-10-31 17:34:39 +07:00
9
OCI / Docker
Versions (1) View all
latest 2024-10-31