From 2898f964ba2093ad5c0028a5d2986222651f627d Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Mon, 1 Jul 2024 19:30:29 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8f27ad7..432433c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,12 @@ -FROM golang:1.20 as builder +FROM golang:1.20 AS builder WORKDIR / COPY . . RUN CGO_ENABLED=1 go build -o quackpipe quackpipe.go RUN strip quackpipe +RUN apt update && apt install -y libgrpc-dev FROM debian:12 COPY --from=builder /quackpipe /quackpipe +COPY --from=builder /usr/share/grpc/roots.pem /usr/share/grpc/roots.pem RUN echo "INSTALL httpfs; INSTALL json; INSTALL parquet; INSTALL fts;" | /quackpipe --stdin CMD ["/quackpipe"]