anubis
Details
Source
FROM stagex/pallet-go AS build
ARG VERSION
ADD fetch/anubis-${VERSION}.tar.gz .
WORKDIR /anubis-${VERSION}
RUN go mod download
RUN --network=none <<-EOF
set -eu
go build -o anubis ./cmd/anubis
mkdir -p /rootfs/usr/bin/
cp anubis /rootfs/usr/bin/
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs// /