amlogic-s9xxx-armbian Docker & Self-Hosted Deployment

GitHub

Supports running Armbian on Amlogic, Allwinner, and Rockchip devices. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588,...

9,559 stars Shell Shell 1 file ยท ~57,402 tokens #a311d#allwinner#amlogic#armbian#debian#rockchip#s905#s905d
1. Pull Image (DOCKERHUB) docker pull ophub/amlogic-s9xxx-armbian:latest
2. Docker Run (1-Click Launch) docker run -d --name amlogic-s9xxx-armbian -p 22:22 --restart always ophub/amlogic-s9xxx-armbian:latest
3. Podman Run podman run -d --name amlogic-s9xxx-armbian -p 22:22 --restart always ophub/amlogic-s9xxx-armbian:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/ophub/amlogic-s9xxx-armbian:latest
5. ORAS Pull (OCI Artifact) oras pull ophub/amlogic-s9xxx-armbian:latest
compile-kernel/tools/script/docker/Dockerfile
FROM scratch
ADD armbian-rootfs.tar.gz /

# Install necessary packages
RUN apt-get update && apt-get install -y \
    tzdata \
    ca-certificates \
    gnupg2 \
    openssh-server \
    nginx \
    && rm -rf /var/lib/apt/lists/*

# Set timezone
ENV TZ=Etc/UTC
RUN ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime && \
    echo "${TZ}" > /etc/timezone

# Copy custom startup script
COPY docker_startup.sh /usr/local/bin/docker_startup.sh
# Make the script executable
RUN chmod +x /usr/local/bin/docker_startup.sh

# Expose necessary ports (SSH and HTTP/HTTPS)
EXPOSE 22 80 443

# Set the default command to run our script
CMD ["/usr/local/bin/docker_startup.sh"]