Using ubuntu:bionic (#262)

This commit is contained in:
Haokang Den 2020-02-10 17:57:36 +09:00 committed by GitHub
parent 55d1d2faf8
commit 192e2676fc

View file

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