temporalite-archived icon indicating copy to clipboard operation
temporalite-archived copied to clipboard

Publish Temporalite to a public container registry

Open jlegrone opened this issue 2 years ago • 5 comments

Is your feature request related to a problem? Please describe.

Users should be able to quickly spin up Temporalite instances in container environments like Kubernetes, docker-compose, and various CI providers.

Describe the solution you'd like

Configure goreleaser to build & push container images for Temporalite to a temporalio owned container repository.

Describe alternatives you've considered

Docker compose users can already leverage Temporalite by building from source, eg.

# docker-compose.yaml
version: '3.9'

services:
  temporalite:
    build: https://github.com/temporalio/temporalite.git#main
    ports:
      - 7233:7233
      - 8233:8233

Additional context

jlegrone avatar Aug 05 '22 23:08 jlegrone

I am building a multi-arch temporalite image here https://github.com/slamdev/temporalite-container-image

Let me know if you are open for contribution of this solution to temporalite repo.

slamdev avatar Dec 30 '22 07:12 slamdev

Is there any chance of an official docker image being pushed to Docker Hub please?

nomad-software avatar Mar 03 '23 10:03 nomad-software

In the meantime, until an official temporalite docker image is available for local dev, I use the following Dockerfile as an alternative.

It is fast to build (just download latest temporal CLI, no need to build go modules), and starts temporalite via the new temporal CLI.

FROM curlimages/curl as builder

WORKDIR /
RUN curl -sSf https://temporal.download/cli.sh | sh

FROM gcr.io/distroless/base-debian11

COPY --from=builder /home/curl_user/.temporalio/bin/temporal /bin/temporal
EXPOSE 7233
EXPOSE 8233

ENTRYPOINT ["temporal", "server", "start-dev", "--ip" , "0.0.0.0"]

p4p4 avatar Mar 28 '23 09:03 p4p4

this would be super helpful!

thesiti92 avatar Apr 11 '23 20:04 thesiti92

Also waiting for official image to use in testcontainers library 🙏

ramiloif avatar Sep 21 '23 06:09 ramiloif