mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-09-30 03:51:43 +02:00
* Prepare for release Added LICENSE, set version and configured GoReleaser/Docker * Updated LICENSE
17 lines
389 B
Docker
17 lines
389 B
Docker
FROM goreleaser/goreleaser:latest as builder
|
|
|
|
WORKDIR /tmp/orchard
|
|
ADD . /tmp/orchard/
|
|
|
|
RUN goreleaser build --single-target --snapshot --timeout 60m
|
|
|
|
FROM gcr.io/distroless/base
|
|
|
|
LABEL org.opencontainers.image.source=https://github.com/cirruslabs/orchard
|
|
ENV ORCHARD_HOME=/data
|
|
EXPOSE 6120
|
|
|
|
COPY --from=builder /tmp/orchard/dist/orchard_linux_*/orchard /bin/orchard
|
|
|
|
CMD ["/bin/orchard"]
|