ci-images/go-ci (latest)

Published 2023-07-19 20:39:51 +00:00 by prskr in inetmock/ci-images

Installation

docker pull code.icb4dc0.de/inetmock/ci-images/go-ci:latest
sha256:7b38136fad99a818288a1ff445f5d8e200325969d03ecd64a4a08165ae9f994d

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:262490f82459c14632f5c9a6d6a5cf6c07b4f307e8fd380fa764662cda46e88f in /
CMD ["/bin/bash"]
RUN apt-get update && apt-get install -y git-lfs curl gcc jq libbpf-dev clang llvm-13 elfutils && rm -rf /var/lib/apt/lists/* && ln -s /usr/bin/llc-14 /usr/bin/llc
RUN curl -L https://go.dev/dl/go1.20.6.linux-arm64.tar.gz | tar -xz -C /usr/local
RUN export GORELEASER_VERSION=$(curl https://api.github.com/repos/goreleaser/goreleaser/releases | jq -r '. | first |.tag_name | capture("(?<version>[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)") | .version') && curl -Lo /tmp/goreleaser.deb "https://github.com/goreleaser/goreleaser/releases/latest/download/goreleaser_${GORELEASER_VERSION}_arm64.deb" && apt install /tmp/goreleaser.deb && rm -f /tmp/*.deb && goreleaser --version
COPY --from=tools /go/bin/* /usr/local/bin/
RUN curl -L https://github.com/go-task/task/releases/latest/download/task_linux_arm64.tar.gz | tar -xvz -C /usr/local/bin task && export BUF_VERSION=$(curl https://api.github.com/repos/bufbuild/buf/releases | jq -r '. | first |.tag_name') && curl -Lo /usr/bin/buf "https://github.com/bufbuild/buf/releases/download/${BUF_VERSION}/buf-Linux-aarch64" && chmod +x /usr/bin/buf && go version && golangci-lint --version && task --version && buf --version

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 22.04
Details
Container
2023-07-19 20:39:51 +00:00
127
OCI / Docker
linux/arm64/v8
672 MiB
Versions (1) View all
latest 2023-07-19