bsyk commented on issue #8926:
URL: https://github.com/apache/druid/issues/8926#issuecomment-1137873885

   The published container (https://hub.docker.com/r/apache/druid) does not 
work for running these quickstart scripts. The os does not include bash or 
perl, which are both required to run the quickstart scripts.
   
   Here's a minimal Dockerfile that does work with the quickstarts.
   Perhaps the official docker image should use an os image rather than the 
java image as its base?
   
   `ARG DRUID_VER=0.22.1
   
   FROM apache/druid:${DRUID_VER} AS druid
   
   FROM ubuntu:bionic
   RUN apt-get update && \
       apt-get install --yes openjdk-8-jre-headless perl-modules && \
       apt-get clean
   
   RUN addgroup --system -gid 1000 druid \
    && adduser --system --uid 1000 --disabled-password --home /opt/druid 
--shell /bin/bash --group druid
   
   COPY --from=druid --chown=druid:druid /opt/druid /opt/druid
   
   WORKDIR /opt/druid
   
   USER druid
   
   EXPOSE 8888/tcp
   EXPOSE 8081/tcp
   
   CMD ["bash", "-c", "/opt/druid/bin/start-nano-quickstart"]
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to