Sha256: 2701e955523429724a1cf39079e6a04e8fa0db4f57ae9a291faee4c236f762ad

Contents?: true

Size: 560 Bytes

Versions: 2

Compression:

Stored size: 560 Bytes

Contents

FROM --platform=$BUILDPLATFORM tinygo/tinygo:0.33.0 AS build
ARG TARGETOS
ARG TARGETARCH
WORKDIR /app
COPY . .
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOFLAGS=-buildvcs=false tinygo build -o locusts ./include

FROM scratch
LABEL org.opencontainers.image.licenses=0BSD
LABEL org.opencontainers.image.source=https://github.com/locusts-r-us/locusts
LABEL org.opencontainers.image.title=Locusts
LABEL org.opencontainers.image.description="A container that contains locusts"
HEALTHCHECK NONE
COPY --from=build /app/locusts /
ENTRYPOINT ["/locusts"]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
locusts-0.0.1 Dockerfile
locusts-0.0.0 Dockerfile