From ef156f617229aecefef8751c3fb215cb98113367 Mon Sep 17 00:00:00 2001 From: Jason Aten Date: Tue, 18 Aug 2020 16:55:44 -0500 Subject: [PATCH] ubuntu 20:10 image instead of alpine, for cgo support --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a30097e1e..a0950ffed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,11 +7,13 @@ COPY . pilosa RUN cd pilosa && make install FLAGS="-a -mod=vendor ${BUILD_FLAGS}" ${MAKE_FLAGS} -FROM alpine:3.9.4 +FROM ubuntu:20.10 LABEL maintainer "dev@pilosa.com" -RUN apk add --no-cache curl jq +RUN apt-get update +## debug image: RUN apt-get install -y curl htop vim golang tree jq netcat +RUN apt-get install -y curl jq COPY --from=builder /go/bin/pilosa /pilosa