Base Docker image on busybox, at least it has cat and tail
This commit is contained in:
parent
6bb2b530e1
commit
92e5c4a432
1 changed files with 3 additions and 2 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue