docker-image://docker.io/squareup/certstrap@sha256:c18a2389cf102a78ed6b42a2ae56ab81d898de30cdf1aca79a16bec15b22f7f2
[0.02s]
oci-layout://load/deps-image.tar@sha256:51abc0f16615f1523ca5e06e2b9d031f39b24f49668cb0a766f1d3e02b4f1cfb
[0.03s]
docker-image://docker.io/alpine/git@sha256:66b210a97bc07bfd4019826bcd13a488b371a6cbe2630a4b37d23275658bd3f2
[0.02s]
certstrap init --cn bass --passphrase
CACHED
git fetch origin 6d1caf4a8a2802bdbb7b0de1bd014496ee92a382
CACHED
git clone https://github.com/vito/bass.git ./
CACHED
git checkout 6d1caf4a8a2802bdbb7b0de1bd014496ee92a382
CACHED
git submodule update --init --recursive
CACHED
copy / /
CACHED
copy / /
CACHED
cp {{thunk GTK41Q5FBITAG: git submodule update --init --recursive}}/go.mod {{thunk GTK41Q5FBITAG: git submodule update --init --recursive}}/go.sum ./
[0.30s]
cp -a {{thunk GTK41Q5FBITAG: git submodule update --init --recursive}}/pkg/lsp/testdata/bundle/nvim-lspconfig/ ./
[0.34s]
go mod download
[0.35s]
git clone https://github.com/moby/buildkit ./
CACHED
git checkout f1f27537acc758d10765876fca9e5270c674de55
CACHED
git fetch origin f1f27537acc758d10765876fca9e5270c674de55
CACHED
git submodule update --init --recursive
CACHED
resolve image config for docker.io/docker/dockerfile-upstream:master
[0.34s]
docker-image://docker.io/docker/dockerfile-upstream:master@sha256:09b440cf3e301a239a14efc447fd7284ad173c4f1cb59490cf26f8f026dff029
[0.01s]
[internal] load metadata for docker.io/tonistiigi/binfmt:buildkit-v7.1.0-30@sha256:45dd57b4ba2f24e2354f71f1e4e51f073cb7a28fd848ce6f5f2a7701142a6bf0
[0.01s]
[internal] load metadata for docker.io/library/alpine:3.17
[0.14s]
[internal] load metadata for docker.io/library/golang:1.20-alpine3.17
[0.26s]
[internal] load metadata for docker.io/tonistiigi/xx:1.2.1
[0.47s]
resolve image config for docker.io/library/golang@sha256:403f48633fb5ebd49f9a2b6ad6719f912df23dae44974a0c9445be331e72ff5e
[0.01s]
resolve image config for docker.io/library/alpine@sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126
[0.01s]
mkfile /resolv.conf
[0.00s]
mkdir /
[0.00s]
docker-image://docker.io/library/alpine@sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126
[0.01s]
docker-image://docker.io/library/golang@sha256:403f48633fb5ebd49f9a2b6ad6719f912df23dae44974a0c9445be331e72ff5e
[0.01s]
[git 1/2] FROM docker.io/library/alpine:3.17@sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126
[0.01s]
FROM docker.io/tonistiigi/binfmt:buildkit-v7.1.0-30@sha256:45dd57b4ba2f24e2354f71f1e4e51f073cb7a28fd848ce6f5f2a7701142a6bf0
[0.02s]
[golatest 1/1] FROM docker.io/library/golang:1.20-alpine3.17@sha256:913de96707b0460bcfdfe422796bb6e559fc300f6c53286777805a9a3010a5ea
[0.02s]
[xx 1/1] FROM docker.io/tonistiigi/xx:1.2.1@sha256:8879a398dedf0aadaacfbd332b29ff2f84bc39ae6d4e9c0a1109db27ac5ba012
[0.02s]
[buildkitd 1/1] RUN --mount=target=. --mount=target=/root/.cache,type=cache --mount=target=/go/pkg/mod,type=cache --mount=source=/tmp/.ldflags,target=/tmp/.ldflags,from=buildkit-version CGO_ENABLED=0 xx-go build -ldflags "$(cat /tmp/.ldflags) -extldflags '-static'" -tags "osusergo netgo static_build seccomp ${BUILDKITD_TAGS}" -o /usr/bin/buildkitd ./cmd/buildkitd && xx-verify --static /usr/bin/buildkitd
CACHED
copy /usr/bin/runc /buildkit-runc
CACHED
[git 2/2] RUN apk add --no-cache git
CACHED
cp {{thunk L3LFG6U35NS84: make binaries}}/bin/dnsname /opt/cni/bin/dnsname
CACHED
sh -c "cp $0/* /etc/buildkit/" <fs>/
CACHED
curl -Ls https://github.com/containernetworking/plugins/releases/download/v1.1.1/cni-plugins-linux-amd64-v1.1.1.tgz -o ./cni.tgz
CACHED
[buildctl 1/1] RUN --mount=target=. --mount=target=/root/.cache,type=cache --mount=target=/go/pkg/mod,type=cache --mount=source=/tmp/.ldflags,target=/tmp/.ldflags,from=buildkit-version xx-go build -ldflags "$(cat /tmp/.ldflags)" -o /usr/bin/buildctl ./cmd/buildctl && xx-verify --static /usr/bin/buildctl
CACHED
[runc 1/3] WORKDIR /go/src/github.com/opencontainers/runc
CACHED
[runc 3/3] RUN --mount=from=runc-src,src=/usr/src/runc,target=. --mount=target=/root/.cache,type=cache CGO_ENABLED=1 xx-go build -mod=vendor -ldflags '-extldflags -static' -tags 'apparmor seccomp netgo cgo static_build osusergo' -o /usr/bin/runc ./ && xx-verify --static /usr/bin/runc
CACHED
copy / /
CACHED
mkfile /test.conflist
CACHED
copy /usr/bin/buildctl /
CACHED
[buildkit-base 1/1] WORKDIR /src
CACHED
[buildkit-export 2/2] LINK COPY --link examples/buildctl-daemonless/buildctl-daemonless.sh /usr/bin/
CACHED
make binaries
CACHED
[gobuild-base 2/2] LINK COPY --link --from=xx / /
CACHED
copy / /
CACHED
[runc 2/3] RUN set -e; xx-apk add musl-dev gcc libseccomp-dev libseccomp-static; [ "$(xx-info arch)" != "ppc64le" ] || XX_CC_PREFER_LINKER=ld xx-clang --setup-target-triple
CACHED
[runc-src 2/2] RUN git clone https://github.com/opencontainers/runc.git runc && cd runc && git checkout -q "v1.1.6"
CACHED
git submodule update --init --recursive
CACHED
[runc-src 1/2] WORKDIR /usr/src
CACHED
[binaries-linux 2/4] LINK COPY --link --from=tonistiigi/binfmt:buildkit-v7.1.0-30@sha256:45dd57b4ba2f24e2354f71f1e4e51f073cb7a28fd848ce6f5f2a7701142a6bf0 / /
CACHED
mkdir -p /opt/cni/bin/ /etc/buildkit/
CACHED
tar -zxf {{thunk 9HSG6T8OE73S0: curl -Ls https://github.com/containernetworking/plugins/releases/download/v1.1.1/cni-plugins-linux-amd64-v1.1.1.tgz -o ./cni.tgz}}/cni.tgz -C /opt/cni/bin/
CACHED
[buildkit-version 1/1] RUN --mount=target=. PKG=github.com/moby/buildkit VERSION=$(git describe --match 'v[0-9]*' --dirty='.m' --always --tags) REVISION=$(git rev-parse HEAD)$(if ! git diff --no-ext-diff --quiet --exit-code; then echo .m; fi); echo "-X ${PKG}/version.Version=${VERSION} -X ${PKG}/version.Revision=${REVISION} -X ${PKG}/version.Package=${PKG}" | tee /tmp/.ldflags; echo -n "${VERSION}" | tee /tmp/.version;
CACHED
[binaries-linux 4/4] LINK COPY --link --from=buildkitd /usr/bin/buildkitd /
CACHED
copy / /
CACHED
copy / /usr/bin/
CACHED
git checkout 512aea91bf1095fbcad0abceec38798df5c40c14
CACHED
apk add --no-cache dumb-init iptables ip6tables dnsmasq
CACHED
cp {{thunk MR38N3EMU16B4: certstrap init --cn bass --passphrase }}/out/bass.crt /etc/ssl/certs/bass.crt
CACHED
apk add --no-cache curl
CACHED
copy /usr/bin/buildkitd /
CACHED
git fetch origin 512aea91bf1095fbcad0abceec38798df5c40c14
CACHED
git clone https://github.com/containers/dnsname ./
CACHED
[buildkit-export 1/2] RUN apk add --no-cache fuse3 git openssh pigz xz && ln -s fusermount3 /usr/bin/fusermount
CACHED
copy /examples/buildctl-daemonless/buildctl-daemonless.sh /usr/bin/
CACHED
[buildkit-linux 1/1] LINK COPY --link --from=binaries / /usr/bin/
CACHED
mkfile /buildkitd.toml
CACHED
[gobuild-base 1/2] RUN apk add --no-cache file bash clang lld pkgconfig git make
CACHED
[binaries-linux 3/4] LINK COPY --link --from=buildctl /usr/bin/buildctl /
CACHED
chmod 0400 /etc/ssl/certs/bass.crt
CACHED
resolve image config for docker.io/squareup/certstrap@sha256:c18a2389cf102a78ed6b42a2ae56ab81d898de30cdf1aca79a16bec15b22f7f2
[0.01s]
resolve image config for docker.io/alpine/git@sha256:66b210a97bc07bfd4019826bcd13a488b371a6cbe2630a4b37d23275658bd3f2
[0.01s]
buildkitd --addr tcp://0.0.0.0:6107
[0.26s]
make -j shims
[16.4s]
env GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-s -w" -o pkg/runti
mes/bin/exe.amd64 ./pkg/runtimes/shim
env GOOS=linux GOARCH=arm CGO_ENABLED=0 go build -ldflags "-s -w" -o pkg/runtime
s/bin/exe.arm ./pkg/runtimes/shim
env GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags "-s -w" -o pkg/runti
mes/bin/exe.arm64 ./pkg/runtimes/shim
go: downloading go.uber.org/zap v1.19.1
go: downloading github.com/moby/sys/mountinfo v0.6.2
go: downloading github.com/containerd/containerd v1.7.0
go: downloading github.com/mattn/go-colorable v0.1.12
go: downloading golang.org/x/sys v0.7.0
go: downloading github.com/cenkalti/backoff/v4 v4.2.0
go: downloading github.com/moby/sys/mountinfo v0.6.2
go: downloading github.com/containerd/containerd v1.7.0
go: downloading github.com/cenkalti/backoff/v4 v4.2.0
go: downloading go.uber.org/zap v1.19.1
go: downloading golang.org/x/sys v0.7.0
go: downloading github.com/mattn/go-colorable v0.1.12
go: downloading go.uber.org/zap v1.19.1
go: downloading golang.org/x/sys v0.7.0
go: downloading github.com/mattn/go-colorable v0.1.12
go: downloading github.com/cenkalti/backoff/v4 v4.2.0
go: downloading github.com/containerd/containerd v1.7.0
go: downloading github.com/moby/sys/mountinfo v0.6.2
go: downloading github.com/mattn/go-isatty v0.0.18
go: downloading github.com/mattn/go-isatty v0.0.18
go: downloading github.com/mattn/go-isatty v0.0.18
go: downloading go.uber.org/multierr v1.6.0
go: downloading go.uber.org/atomic v1.7.0
go: downloading go.uber.org/atomic v1.7.0
go: downloading go.uber.org/multierr v1.6.0
go: downloading go.uber.org/atomic v1.7.0
go: downloading go.uber.org/multierr v1.6.0
go: downloading github.com/containerd/go-runc v1.0.1-0.20230316182144-f5d58d02d6
c8
go: downloading github.com/containerd/go-runc v1.0.1-0.20230316182144-f5d58d02d6
c8
go: downloading github.com/containerd/go-runc v1.0.1-0.20230316182144-f5d58d02d6
c8
go: downloading github.com/sirupsen/logrus v1.9.0
go: downloading github.com/containerd/console v1.0.3
go: downloading github.com/opencontainers/runtime-spec v1.1.0-rc.1
go: downloading github.com/sirupsen/logrus v1.9.0
go: downloading github.com/sirupsen/logrus v1.9.0
go: downloading github.com/containerd/console v1.0.3
go: downloading github.com/opencontainers/runtime-spec v1.1.0-rc.1
go: downloading github.com/opencontainers/runtime-spec v1.1.0-rc.1
go: downloading github.com/containerd/console v1.0.3
which upx # required for compressing shims
/bin/upx
upx pkg/runtimes/bin/exe.amd64 pkg/runtimes/bin/exe.arm pkg/runtimes/bin/exe.arm
64 || true # swallow AlreadyPackedException :/
Ultimate Packer for eXecutables
Copyright (C) 1996 - 2023
UPX 4.0.2 Markus Oberhumer, Laszlo Molnar & John Reiser Jan 30th 2023
File size Ratio Format Name
-------------------- ------ ----------- -----------
3444736 -> 1480904 42.99% linux/amd64 exe.amd64
3342336 -> 1326452 39.69% linux/arm exe.arm
3407872 -> 1375728 40.37% linux/arm64 exe.arm64
-------------------- ------ ----------- -----------
10194944 -> 4183084 41.03% [ 3 files ]
Packed 3 files.
make VERSION=dev GOOS=linux GOARCH=amd64 dist
[3.24s]
mkdir -p ./dist/
env GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags "-X main.v
ersion=dev" -o ./dist/bass ./cmd/bass
go test ./...
[36.6s]
? github.com/vito/bass/cmd/bass [no test files]
? github.com/vito/bass/demos [no test files]
? github.com/vito/bass/docs/go [no test files]
? github.com/vito/bass/pkg [no test files]
ok github.com/vito/bass/pkg/bass (cached)
? github.com/vito/bass/pkg/basstest [no test files]
? github.com/vito/bass/pkg/basstls [no test files]
ok github.com/vito/bass/pkg/cli (cached)
? github.com/vito/bass/pkg/hl [no test files]
? github.com/vito/bass/pkg/internal [no test files]
? github.com/vito/bass/pkg/ioctx [no test files]
ok github.com/vito/bass/pkg/lsp (cached)
? github.com/vito/bass/pkg/proto [no test files]
? github.com/vito/bass/pkg/runtimes/shim [no test files]
? github.com/vito/bass/pkg/runtimes/util [no test files]
? github.com/vito/bass/pkg/runtimes/util/buildkitd [no test files]
? github.com/vito/bass/pkg/zapctx [no test files]
? github.com/vito/bass/std [no test files]
ok github.com/vito/bass/pkg/runtimes 31.757s
[check] test
[46.8s]