docker/builder (sha256:730f034c39e7b97d24b778530094ea461663fca485de78171fbabfe533df65a7)
Installation
docker pull git.grey.ooo/grey.ooo/docker/builder@sha256:730f034c39e7b97d24b778530094ea461663fca485de78171fbabfe533df65a7sha256:730f034c39e7b97d24b778530094ea461663fca485de78171fbabfe533df65a7About this package
Alpine Linux base image that has build tools installed
Image layers
| ADD file:aa1af71c6b66d2dddee4797236e3e526f70f904ab641cc0dd6b41445cfedf9b4 in / |
| CMD ["/bin/sh"] |
| ENV ALPINE_VERSION=3.15 |
| ARG BASE_PACKAGES= bash bash-completion pv bc less util-linux-misc util-linux-bash-completion bind-tools iputils net-tools git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim emacs figlet ncurses runuser runit dos2unix patch |
| LABEL org.opencontainers.image.vendor=Grey.ooo org.opencontainers.image.authors=Matthew B <matt@grey.ooo> org.opencontainers.image.url=https://git.grey.ooo/Grey.ooo/docker org.opencontainers.image.source=https://git.grey.ooo/Grey.ooo/docker org.opencontainers.image.documentation=https://git.grey.ooo/Grey.ooo/docker/blob/main/README.md ooo.grey.version.alpine=3.15 |
| ENV TERM=xterm-256color PATH=/app:/app/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LOG_PATHS= SVDIR=/etc/services.d SVWAIT=5 PAGER=/usr/bin/less EDITOR=/usr/bin/nano SYSTEM_USER=app |
| WORKDIR /app |
| RUN |1 BASE_PACKAGES= bash bash-completion pv bc less util-linux-misc util-linux-bash-completion bind-tools iputils net-tools git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim emacs figlet ncurses runuser runit dos2unix patch /bin/sh -c set -ue apk add --no-cache $BASE_PACKAGES # add our app user adduser -D -u 1000 $SYSTEM_USER -h /home -s /bin/bash chown -R $SYSTEM_USER:$SYSTEM_USER /app # We're about to add the root filesystem and I want to clean house of these runit-related directories before I do so. rm -Rf /etc/service /etc/services /etc/services.d \ /etc/periodic /etc/cron.d \ /etc/conf.d # buildkit |
| SHELL [/bin/bash -ce] |
| COPY ./fs/alpine/. / # buildkit |
| RUN |1 BASE_PACKAGES= bash bash-completion pv bc less util-linux-misc util-linux-bash-completion bind-tools iputils net-tools git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim emacs figlet ncurses runuser runit dos2unix patch /bin/bash -ce # Install lolcat from the edge/testing repo. # This is a workaround for the fact that lolcat is not available in the stable repo. # It lets us have nice colourful banners. apk add --no-cache lolcat --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing # buildkit |
| STOPSIGNAL SIGHUP |
| CMD ["/usr/local/bin/entrypoint"] |
| RUN |1 BASE_PACKAGES= bash bash-completion pv bc less util-linux-misc util-linux-bash-completion bind-tools iputils net-tools git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim emacs figlet ncurses runuser runit dos2unix patch /bin/bash -ce rm /root/.bashrc /root/.profile /home/.bashrc /home/.profile /etc/profile.d/00-bashrc.sh >/dev/null 2>&1 || true ln -s /etc/profile /root/.bashrc ln -s /etc/profile /root/.profile ln -s /etc/profile /home/.bashrc ln -s /etc/profile /home/.profile sed -i 's|/bin/ash|/bin/bash|' /etc/passwd sv-fix-perms /usr/local/bin/validate # buildkit |
| ARG BUILDER_PACKAGES=build-base linux-headers openssl-dev zlib-dev |
| RUN |2 BASE_PACKAGES= bash bash-completion pv bc less util-linux-misc util-linux-bash-completion bind-tools iputils net-tools git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim emacs figlet ncurses runuser runit dos2unix patch BUILDER_PACKAGES=build-base linux-headers openssl-dev zlib-dev /bin/bash -ce # Add github.com's SSH keys to the known_hosts file. echo "github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl" >> /etc/ssh/ssh_known_hosts echo "github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=" >> /etc/ssh/ssh_known_hosts echo "github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=" >> /etc/ssh/ssh_known_hosts apk add --no-cache $BUILDER_PACKAGES # buildkit |
Labels
| Key | Value |
|---|---|
| ooo.grey.version.alpine | 3.15 |
| org.opencontainers.image.authors | Matthew B <matt@grey.ooo> |
| org.opencontainers.image.description | Alpine Linux base image that has build tools installed |
| org.opencontainers.image.documentation | https://git.grey.ooo/Grey.ooo/docker/blob/main/README.md |
| org.opencontainers.image.source | https://git.grey.ooo/Grey.ooo/docker |
| org.opencontainers.image.url | https://git.grey.ooo/Grey.ooo/docker |
| org.opencontainers.image.vendor | Grey.ooo |
Details
2026-05-21 10:57:22 +00:00
Versions (76)
View all
Container
0
OCI / Docker
linux/amd64
Matthew B <matt@grey.ooo>
136 MiB
22-build-2026-05-28
2026-05-28
22
2026-05-28
15
2026-05-28
15-build-2026-05-28
2026-05-28
18-build-2026-05-28
2026-05-28