Skip to content

Commit

Permalink
Install bash-static in docker image (#13063)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfaraz committed Sep 9, 2022
1 parent a6f5a74 commit 618098a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions distribution/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ LABEL maintainer="Apache Druid Developers <dev@druid.apache.org>"

COPY --from=busybox /bin/busybox /busybox/busybox
RUN ["/busybox/busybox", "--install", "/bin"]
RUN wget https://github.com/robxu9/bash-static/releases/download/5.1.016-1.2.3/bash-linux-x86_64 -O /bin/bash \
&& chmod 755 /bin/bash

RUN addgroup -S -g 1000 druid \
&& adduser -S -u 1000 -D -H -h /opt/druid -s /bin/sh -g '' -G druid druid
Expand Down

0 comments on commit 618098a

Please sign in to comment.