github.com/filecoin-project/bacalhau@v0.3.23-0.20230228154132-45c989550ace/docker/bacalhau-image/Dockerfile (about) 1 # syntax=docker/dockerfile:1.4 2 FROM cgr.dev/chainguard/go:1.19 as build 3 WORKDIR /work 4 COPY Makefile . 5 COPY go.mod . 6 COPY . . 7 RUN make build-bacalhau 8 RUN find ./bin -name 'bacalhau' -exec mv -t ./bin {} + 9 10 FROM cgr.dev/chainguard/static:latest 11 COPY --from=build /work/bin/bacalhau /usr/local/bin/bacalhau 12 ENV PATH="/usr/local/bin" 13 ENTRYPOINT ["bacalhau"] 14 LABEL org.opencontainers.image.source https://github.com/filecoin-project/bacalhau 15 LABEL org.opencontainers.image.title "Bacalhau" 16 LABEL org.opencontainers.image.description "The Bacalhau network provices decentralised compute for compute over data. See https://bacalhau.org for more info." 17 LABEL org.opencontainers.image.licenses Apache-2.0 18 LABEL org.opencontainers.image.url https://bacalhau.org