Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Publish Temporalite to a public container registry #105

Open
jlegrone opened this issue Aug 5, 2022 · 5 comments
Open

Publish Temporalite to a public container registry #105

jlegrone opened this issue Aug 5, 2022 · 5 comments

Comments

@jlegrone
Copy link
Collaborator

jlegrone commented Aug 5, 2022

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 jlegrone added the enhancement New feature or request label Aug 5, 2022
@jlegrone jlegrone changed the title Publish docker image Publish Temporalite to a public container registry Aug 5, 2022
@jlegrone jlegrone added packaging and removed enhancement New feature or request labels Aug 5, 2022
@slamdev
Copy link

slamdev commented Dec 30, 2022

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.

@nomad-software
Copy link

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

@p4p4
Copy link

p4p4 commented Mar 28, 2023

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"]

@thesiti92
Copy link

this would be super helpful!

@ramiloif
Copy link

Also waiting for official image to use in testcontainers library 🙏

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

No branches or pull requests

6 participants