Merge pull request #693 from molecula/ubuntu_dockerfile

ubuntu 20:10 image instead of alpine, for cgo support
This commit is contained in:
Cody Soyland 2020-08-18 20:40:26 -05:00 committed by GitHub
commit 776de471db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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