temporalio / docker-builds

Temporal service Docker images build
https://hub.docker.com/r/temporaliotest/auto-setup
MIT License
30 stars 59 forks source link

[Bug] cannot run as dev #239

Closed ggrebert closed 2 months ago

ggrebert commented 3 months ago

What are you really trying to do?

Is it possible to create dev environment with temporal docker image ?

Minimal Reproduction

docker run --pull always -it --rm temporalio/auto-setup develop

Result;

latest: Pulling from temporalio/auto-setup
Digest: sha256:10e8c557ace5fa4aa99217637e7b9969316e89b929a3bfb117853a5417eef25c
Status: Image is up to date for temporalio/auto-setup:latest
TEMPORAL_ADDRESS is not set, setting it to 172.17.0.2:7233
/etc/temporal/entrypoint.sh: line 40: /etc/temporal/setup-develop.sh: No such file or directory

The entrypoint:

# Setup Temporal Server in development mode if "develop" is passed as an argument.
for arg; do
    if [[ ${arg} == develop ]]; then
        /etc/temporal/setup-develop.sh
        break
    fi
done
ggrebert commented 3 months ago

works with:

docker run -it --rm --entrypoint /usr/local/bin/temporal temporaliotest/auto-setup server start-dev