From 5d08d54518fc2b9485f453e624ab282d1e4e52d9 Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Sat, 5 Dec 2020 09:17:43 -0600 Subject: [PATCH] Revert "ubuntu 20:10 image instead of alpine, for cgo support" This reverts commit ef156f617229aecefef8751c3fb215cb98113367. --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 06a9811d8..f666de6d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,13 +7,11 @@ COPY . pilosa RUN cd pilosa && make install FLAGS="-a -mod=vendor ${BUILD_FLAGS}" ${MAKE_FLAGS} -FROM ubuntu:20.10 +FROM alpine:3.9.4 LABEL maintainer "dev@pilosa.com" -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 +RUN apk add --no-cache curl jq COPY --from=builder /go/bin/pilosa /pilosa