runner-go (sha256:2834ece51e748f84251c56d5c22239c2e0d529a6bff1ef0c2629de31ceb0601d)

Published 2024-09-16 18:20:18 +00:00 by actions-deploy in actions/runner-images

Installation

docker pull git.euph.dev/actions/runner-go@sha256:2834ece51e748f84251c56d5c22239c2e0d529a6bff1ef0c2629de31ceb0601d
sha256:2834ece51e748f84251c56d5c22239c2e0d529a6bff1ef0c2629de31ceb0601d

Image Layers

ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in /
CMD ["/bin/sh"]
ENV LANG=C.UTF-8
RUN /bin/sh -c ALPINE_GLIBC_BASE_URL="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" && ALPINE_GLIBC_PACKAGE_VERSION="2.34-r0" && ALPINE_GLIBC_BASE_PACKAGE_FILENAME="glibc-$ALPINE_GLIBC_PACKAGE_VERSION.apk" && ALPINE_GLIBC_BIN_PACKAGE_FILENAME="glibc-bin-$ALPINE_GLIBC_PACKAGE_VERSION.apk" && ALPINE_GLIBC_I18N_PACKAGE_FILENAME="glibc-i18n-$ALPINE_GLIBC_PACKAGE_VERSION.apk" && apk add --no-cache --virtual=.build-dependencies wget ca-certificates && echo "-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApZ2u1KJKUu/fW4A25y9m y70AGEa/J3Wi5ibNVGNn1gT1r0VfgeWd0pUybS4UmcHdiNzxJPgoWQhV2SSW1JYu tOqKZF5QSN6X937PTUpNBjUvLtTQ1ve1fp39uf/lEXPpFpOPL88LKnDBgbh7wkCp m2KzLVGChf83MS0ShL6G9EQIAUxLm99VpgRjwqTQ/KfzGtpke1wqws4au0Ab4qPY KXvMLSPLUp7cfulWvhmZSegr5AdhNw5KNizPqCJT8ZrGvgHypXyiFvvAH5YRtSsc Zvo9GI2e2MaZyo9/lvb+LbLEJZKEQckqRj4P26gmASrZEPStwc+yqy1ShHLA0j6m 1QIDAQAB -----END PUBLIC KEY-----" | sed 's/ */\n/g' > "/etc/apk/keys/sgerrand.rsa.pub" && wget "$ALPINE_GLIBC_BASE_URL/$ALPINE_GLIBC_PACKAGE_VERSION/$ALPINE_GLIBC_BASE_PACKAGE_FILENAME" "$ALPINE_GLIBC_BASE_URL/$ALPINE_GLIBC_PACKAGE_VERSION/$ALPINE_GLIBC_BIN_PACKAGE_FILENAME" "$ALPINE_GLIBC_BASE_URL/$ALPINE_GLIBC_PACKAGE_VERSION/$ALPINE_GLIBC_I18N_PACKAGE_FILENAME" && mv /etc/nsswitch.conf /etc/nsswitch.conf.bak && apk add --no-cache --force-overwrite "$ALPINE_GLIBC_BASE_PACKAGE_FILENAME" "$ALPINE_GLIBC_BIN_PACKAGE_FILENAME" "$ALPINE_GLIBC_I18N_PACKAGE_FILENAME" && mv /etc/nsswitch.conf.bak /etc/nsswitch.conf && rm "/etc/apk/keys/sgerrand.rsa.pub" && (/usr/glibc-compat/bin/localedef --force --inputfile POSIX --charmap UTF-8 "$LANG" || true) && echo "export LANG=$LANG" > /etc/profile.d/locale.sh && apk del glibc-i18n && rm "/root/.wget-hsts" && apk del .build-dependencies && rm "$ALPINE_GLIBC_BASE_PACKAGE_FILENAME" "$ALPINE_GLIBC_BIN_PACKAGE_FILENAME" "$ALPINE_GLIBC_I18N_PACKAGE_FILENAME" # buildkit
RUN /bin/sh -c apk add --update --no-cache bash sudo ca-certificates openssl openssh-client git git-lfs wget curl zip unzip xz zstd jq nodejs npm python3 py3-pip parallel # buildkit
RUN /bin/sh -c adduser -D runner && echo "runner ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/runner && chmod 0440 /etc/sudoers.d/runner # buildkit
RUN /bin/sh -c chmod -R 777 /opt # buildkit
WORKDIR /home/runner
CMD ["/bin/bash"]
USER runner
RUN /bin/sh -c sudo apk add --no-cache "go" # buildkit
RUN /bin/sh -c wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh # buildkit
RUN /bin/sh -c go install honnef.co/go/tools/cmd/staticcheck@latest # buildkit
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$(pwd)/bin
Details
Container
2024-09-16 18:20:18 +00:00
1
OCI / Docker
linux/amd64
250 MiB
Versions (6) View all
latest 2024-09-19
621 2024-09-19
613 2024-09-16
605 2024-09-16
597 2024-09-16