terminal (production)

Published 2025-03-25 18:08:40 -04:00 by colin

Installation

docker pull git.nixc.us/nixius/terminal:production
sha256:555e937d365b1f05a7ba6156ac3f87b3e3593789330a3f9440d6152c07e0b602

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:6df775300d76441aa33f31b22c1afce8dfe35c8ffbc14ef27c27009235b12a95 in /
CMD ["/bin/bash"]
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Etc/UTC
RUN /bin/sh -c ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && apt-get update && apt-get install -y apt-utils bash zsh htop git curl wget net-tools iputils-ping jq python3 python3-pip nmap ca-certificates gnupg lsb-release locales nano btop # buildkit
RUN /bin/sh -c git config --global user.name "User" && git config --global user.email "user@example.com" # buildkit
RUN /bin/sh -c wget https://go.dev/dl/go1.23.2.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.23.2.linux-amd64.tar.gz && rm go1.23.2.linux-amd64.tar.gz # buildkit
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin
RUN /bin/sh -c curl https://sh.rustup.rs -sSf | sh -s -- -y # buildkit
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/root/.cargo/bin
RUN /bin/sh -c cargo install zellij # buildkit
RUN /bin/sh -c rm -f /etc/apt/keyrings/docker.gpg && mkdir -p /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null && apt-get update && apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin # buildkit
RUN /bin/sh -c wget https://github.com/aquasecurity/trivy/releases/download/v0.41.0/trivy_0.41.0_Linux-64bit.tar.gz && tar zxvf trivy_0.41.0_Linux-64bit.tar.gz -C /usr/local/bin/ && rm trivy_0.41.0_Linux-64bit.tar.gz # buildkit
RUN /bin/sh -c curl -sSL https://git.nixc.us/Nixius/go-glitch/raw/branch/master/install.sh | bash && curl -sSL https://git.nixc.us/Nixius/haste-it/raw/branch/main/install.sh | bash # buildkit
RUN /bin/sh -c sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && sed -i '/C.UTF-8/s/^# //g' /etc/locale.gen && locale-gen && rm -f /etc/profile.d/01-locale-fix.sh /etc/profile.d/Z99-cloud-locale-test.sh # buildkit
RUN /bin/sh -c echo '#!/bin/bash\n# Define a function to SSH into the host\nhostssh() {\n ssh -i /root/.ssh/id_ed25519 -o StrictHostKeyChecking=accept-new -o BatchMode=yes root@${HOST_HOSTNAME:-ingress.nixc.us} "$@"\n}' > /etc/profile.d/host.sh && chmod +x /etc/profile.d/host.sh # buildkit
RUN /bin/sh -c sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended && sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="pygmalion"/' /root/.zshrc && echo 'plugins=(git)' >> /root/.zshrc && echo "alias ll='ls -la'" >> /root/.zshrc && echo "exec /bin/zsh" >> /root/.bashrc && echo "exec /bin/zsh" >> /root/.profile && echo "for f in /etc/profile.d/*.sh; do source \$f; done" >> /root/.zshrc && ln -sf /bin/zsh /bin/sh # buildkit
RUN /bin/sh -c curl -sSL https://github.com/sorenisanerd/gotty/releases/download/v1.5.0/gotty_v1.5.0_linux_amd64.tar.gz | tar -xz -C /usr/local/bin # buildkit
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV LANGUAGE=C.UTF-8
ENV EDITOR=nano
COPY ./entrypoint.sh / # buildkit
RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit
ENTRYPOINT ["/entrypoint.sh"]

Labels

Key Value
com.docker.compose.project terminal
com.docker.compose.service terminal
com.docker.compose.version 2.30.3
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 24.04
Details
Container
2025-03-25 18:08:40 -04:00
43
OCI / Docker
linux/amd64
949 MiB
Versions (2) View all
production 2025-03-25
staging 2025-03-25