amlogic-s9xxx-armbian

GitHub

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

1. Pull Image docker pull ophub/amlogic-s9xxx-armbian:latest
2. 1-Click Launch Command docker run -d --name amlogic-s9xxx-armbian -p 22:22 --restart always 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"]