Skip to content

Conversation

joernNNN
Copy link
Contributor

@joernNNN joernNNN commented Aug 8, 2025

@leonardo-doyensec
Copy link
Contributor

Hello @joernNNN.
Thank you for your contribution. I'm noticing that the testbed takes 4 hours to deploy. Are you able to find a quicker way to deploy it?

Feel free to reach out
~ Leonardo (Doyensec)

ARG PINOT_VERSION=1.2.0

RUN apt update && apt install wget -y
RUN wget https://www.apache.org/dyn/closer.lua/pinot/apache-pinot-${PINOT_VERSION}/apache-pinot-${PINOT_VERSION}-bin.tar.gz?action=download -O apache-pinot-${PINOT_VERSION}-bin.tar.gz
Copy link
Contributor Author

@joernNNN joernNNN Aug 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leonardo-doyensec
This line is the issue. At the time I was building this image, the download speed was unlimited, and I built the image quickly. However, now, even on a powerful server, I'm experiencing a very low download speed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @joernNNN,
I suggest downloading the software from Docker. You can use the official Pinot base as follows:

docker-compose.yml

services:
  pinot:
    image: apachepinot/pinot:${PINOT_VERSION:-1.2.0}
    container_name: pinot
    working_dir: /opt/pinot
    volumes:
      - ./controller.conf:/opt/pinot/controller.conf:ro
      - ./broker.conf:/opt/pinot/broker.conf:ro
      - ./server.conf:/opt/pinot/server.conf:ro
      - ./minion.conf:/opt/pinot/minion.conf:ro
      - ./start-pinot.sh:/opt/pinot/start-pinot.sh:ro
    entrypoint: "/opt/pinot/start-pinot.sh"
    ports:
      - "9000:9000"
      - "8099:8099"
      - "8098:8098"
      - "8097:8097"

Then, update the README to use:

PINOT_VERSION=1.3.0 docker compose up -d # Safe
PINOT_VERSION=1.2.0 docker compose up -d # Vuln

This way, the Dockerfile is no longer needed. Please verify whether the configuration files are still required and remove any that are superfluous. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants