1
Fork 0
This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues/pull-requests.
fwzookeeper_helper/Dockerfile

15 lines
348 B
Docker

FROM fat0troll/tdlib-golangci AS builder
COPY . /build/
WORKDIR /build/
RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 GOFLAGS='-mod=vendor' go build -ldflags '-w -extldflags "-static"'
FROM scratch
COPY --from=builder /build/fwzookeeper_helper /usr/local/bin/fwzookeeper_helper
VOLUME ["/data"]
ENTRYPOINT [ "/usr/local/bin/fwzookeeper_helper" ]