| # debian.sh --arch 'arm64' out/ 'trixie' '@1771804800' |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl wget gnupg lsb-release vim git tar gzip rsync && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c wget -O /usr/local/bin/patches https://github.com/dotMatthew/patches/releases/download/v1.3.0/patches-linux-arm64 && chmod 755 /usr/local/bin/patches # buildkit |
| RUN /bin/sh -c curl -fsSL https://deb.nodesource.com/setup_24.x | bash - && apt-get update && apt-get install -y --no-install-recommends nodejs && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c install -m 0755 -d /etc/apt/keyrings && wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /etc/apt/keyrings/hashicorp-archive-keyring.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(. /etc/os-release && echo $VERSION_CODENAME) main" > /etc/apt/sources.list.d/hashicorp.list && apt-get update && apt-get install -y --no-install-recommends terraform && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c curl -fsSL https://tele.viziona.dev/scripts/install.sh | bash # buildkit |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ansible && rm -rf /var/lib/apt/lists/* # buildkit |
| ARG GO_VERSION=1.25.6 |
| ENV GOROOT=/usr/local/go |
| ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN |1 GO_VERSION=1.25.6 /bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in amd64) goarch='amd64' ;; arm64) goarch='arm64' ;; *) echo "Unsupported arch: $arch" >&2; exit 1 ;; esac; rm -rf /usr/local/go; wget -q "https://go.dev/dl/go${GO_VERSION}.linux-${goarch}.tar.gz"; tar -C /usr/local -xzf "go${GO_VERSION}.linux-${goarch}.tar.gz"; rm "go${GO_VERSION}.linux-${goarch}.tar.gz"; # buildkit |