Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Provide an Official Docker Image for Encore CLI #1731

Open
Badal2456 opened this issue Jan 22, 2025 · 0 comments
Open

Proposal: Provide an Official Docker Image for Encore CLI #1731

Badal2456 opened this issue Jan 22, 2025 · 0 comments

Comments

@Badal2456
Copy link

Proposal: Provide an Official Docker Image for Encore CLI

Summary

I propose creating an official Docker image for the Encore CLI to make it more accessible for CI/CD workflows and Docker-based development setups.

Benefits

  • Simplifies usage of Encore CLI in CI/CD pipelines.
  • Provides a platform-independent, ready-to-use containerized solution.
  • Reduces the need for manual installations.

Implementation

  • Use a lightweight Go-based Docker image (e.g., golang:1.20-buster).
  • Install the Encore CLI and set up environment variables.

Example Dockerfile:

FROM golang:1.20-buster
WORKDIR /app
RUN go install encore.dev/cli@latest
ENV PATH="/root/go/bin:$PATH"
CMD ["encore", "help"]
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

No branches or pull requests

1 participant