The world's fastest open query engine for sub-second analytics both on and off the data lakehouse. With the flexibility to support nearly any scenario,...
docker pull library/${STARROCKS_DEV_ENV_IMAGE
docker run -d --name starrocks --restart always ${STARROCKS_DEV_ENV_IMAGE:-starrocks/dev-env-ubuntu:latest}
podman run -d --name starrocks --restart always ${STARROCKS_DEV_ENV_IMAGE:-starrocks/dev-env-ubuntu:latest}
skopeo inspect docker://docker.io/library/${STARROCKS_DEV_ENV_IMAGE:-starrocks/dev-env-ubuntu
oras pull ${STARROCKS_DEV_ENV_IMAGE:-starrocks/dev-env-ubuntu:latest}
docker compose up -d
version: '3.8'
services:
starrocks-dev:
image: ${STARROCKS_DEV_ENV_IMAGE:-starrocks/dev-env-ubuntu:latest}
container_name: starrocks-dev-env
volumes:
- .:/workspace
- ~/.m2:/tmp/.m2
- starrocks-maven-cache:/root/.m2
- starrocks-build-cache:/workspace/output
working_dir: /workspace
environment:
- STARROCKS_HOME=/workspace
- HOME=/tmp
user: "${UID:-1000}:${GID:-1000}"
stdin_open: true
tty: true
command: /bin/bash
networks:
- starrocks-dev
# Service for building Frontend
build-fe:
extends: starrocks-dev
container_name: starrocks-build-fe
command: ./build.sh --fe
# Service for building Backend
build-be:
extends: starrocks-dev
container_name: starrocks-build-be
command: ./build.sh --be
# Service for running tests
test-fe:
extends: starrocks-dev
container_name: starrocks-test-fe
command: ./run-fe-ut.sh
test-be:
extends: starrocks-dev
container_name: starrocks-test-be
command: ./run-be-ut.sh
volumes:
starrocks-maven-cache:
driver: local
starrocks-build-cache:
driver: local
networks:
starrocks-dev:
driver: bridge