diff --git a/Dockerfile b/Dockerfile index e2c96de9..267c3304 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,13 +15,6 @@ RUN ./script/compile RUN cp bb /usr/local/bin -FROM alpine:3.9 - -# See https://github.com/sgerrand/alpine-pkg-glibc -RUN apk --no-cache add ca-certificates curl -RUN curl -o /etc/apk/keys/sgerrand.rsa.pub -sL https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub -RUN curl -sLO https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.29-r0/glibc-2.29-r0.apk -RUN apk add glibc-2.29-r0.apk +FROM ubuntu:bionic COPY --from=BASE /usr/local/bin/bb /usr/local/bin -ENV LD_LIBRARY_PATH /lib CMD ["bb"]