Skip to content

Commit

Permalink
fix docker image build failure caused by apache#10506
Browse files Browse the repository at this point in the history
  • Loading branch information
xvrl authored and kkonstantine committed Oct 27, 2022
1 parent e97e6de commit 2b41936
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions distribution/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,11 @@ 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

COPY --from=extractor /opt /opt
COPY ./docker/druid.sh /druid.sh

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

COPY --chown=druid:druid --from=builder /opt /opt
COPY distribution/docker/druid.sh /druid.sh
COPY --chown=druid:druid --from=extractor /opt /opt
COPY ./docker/druid.sh /druid.sh

# create necessary directories which could be mounted as volume
# /opt/druid/var is used to keep individual files(e.g. log) of each Druid service
Expand Down

0 comments on commit 2b41936

Please sign in to comment.