Base Docker image on busybox, at least it has cat and tail

This commit is contained in:
Michiel Borkent 2020-02-28 18:08:05 +01:00
parent 6bb2b530e1
commit 92e5c4a432

View file

@ -13,7 +13,8 @@ COPY . .
RUN ./script/compile
FROM scratch
FROM busybox:musl
COPY --from=BASE /opt/bb /bin/bb
RUN mkdir -p /usr/local/bin
COPY --from=BASE /opt/bb /usr/local/bin/bb
CMD ["bb"]