lilsgym (production-sshd)
Published 2025-01-18 08:35:56 -05:00 by colin
Installation
docker pull git.nixc.us/colin/lilsgym:production-sshdsha256:ddaaa278bc9a54d9da8ace49e36bd52354865a29e7702641e85913ae51c13972Image Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:2f8a54a5efd080fb81efea702b4e3e07d946eec7563fb2281bd28950c10ec462 in / |
| CMD ["/bin/bash"] |
| LABEL maintainer=Colin_ |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends openssh-server autossh && apt-get install -y postgresql-client mysql-client restic && apt-get install -y software-properties-common && add-apt-repository 'deb http://archive.ubuntu.com/ubuntu focal universe' && apt-get update && apt-get install -y mariadb-backup && mkdir /var/run/sshd && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && echo build-bump-1 # buildkit |
| COPY sshd_config.* /etc/ssh/ # buildkit |
| COPY scripts/*.sh /usr/local/bin/ # buildkit |
| COPY authorized_keys/*.pub /tmp/authorized_keys/ # buildkit |
| RUN /bin/sh -c chmod +x /usr/local/bin/*.sh # buildkit |
| EXPOSE map[22/tcp:{}] |
| COPY entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod +x /usr/local/bin/entrypoint.sh # buildkit |
| ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] |
| CMD ["default"] |
| USER root |
| COPY ./config/sshd/authorized_keys /tmp/authorized_keys # buildkit |
| RUN /bin/sh -c mkdir -p ~/.ssh && cat /tmp/authorized_keys/* >> ~/.ssh/authorized_keys && chmod 644 ~/.ssh/authorized_keys # buildkit |
| RUN /bin/sh -c apt-get update && apt-get install -y mariadb-client less vim net-tools curl parallel && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY repair_permissions.sh /usr/local/bin/repair_permissions.sh # buildkit |
| RUN /bin/sh -c chmod +x /usr/local/bin/repair_permissions.sh # buildkit |
Labels
| Key | Value |
|---|---|
| com.docker.compose.project | lilsgym |
| com.docker.compose.service | sshd |
| com.docker.compose.version | 2.30.3 |
| maintainer | Colin_ |
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.version | 22.04 |
Details
2025-01-18 08:35:56 -05:00
Versions (11)
View all
Container
253
OCI / Docker
linux/amd64
140 MiB
production-lils-static
2025-12-02
staging-lils-static
2025-12-02
production-db
2025-01-18
production-wordpress
2025-01-18
production-sshd
2025-01-18