-
Notifications
You must be signed in to change notification settings - Fork 39
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
Alpine Linux support #1781
Comments
This adds Dockerfile generation to `create-chiselstrike-app`, which allows developers to build an image of their application and its dependencies, including ChiselStrike, to easily deploy to applications to Kubernetes, Fly.io, and other services. Please note that the Dockerfile only exports port 8080, which means that there's no access to the ChiselStrike RPC from outside. We can re-visit the decision once we have TLS support for gRPC: chiselstrike#1782 Also note that the generated image is pretty big because we need to run `npm install` to fetch dependencies, which requires Node to be present. The `chisel apply` command also has a hard-coded dependency to `npx`. Also, we're currently unable to use Alpine Linux, for example, as a super-slim base image because of: chiselstrike#1781
This adds Dockerfile generation to `create-chiselstrike-app`, which allows developers to build an image of their application and its dependencies, including ChiselStrike, to easily deploy to applications to Kubernetes, Fly.io, and other services. Please note that the Dockerfile only exports port 8080, which means that there's no access to the ChiselStrike RPC from outside. We can re-visit the decision once we have TLS support for gRPC: chiselstrike#1782 Also note that the generated image is pretty big because we need to run `npm install` to fetch dependencies, which requires Node to be present. The `chisel apply` command also has a hard-coded dependency to `npx`. Also, we're currently unable to use Alpine Linux, for example, as a super-slim base image because of: chiselstrike#1781
This adds Dockerfile generation to `create-chiselstrike-app`, which allows developers to build an image of their application and its dependencies, including ChiselStrike, to easily deploy to applications to Kubernetes, Fly.io, and other services. Please note that the Dockerfile only exports port 8080, which means that there's no access to the ChiselStrike RPC from outside. We can re-visit the decision once we have TLS support for gRPC: chiselstrike#1782 Also note that the generated image is pretty big because we need to run `npm install` to fetch dependencies, which requires Node to be present. The `chisel apply` command also has a hard-coded dependency to `npx`. Also, we're currently unable to use Alpine Linux, for example, as a super-slim base image because of: chiselstrike#1781
This adds Dockerfile generation to `create-chiselstrike-app`, which allows developers to build an image of their application and its dependencies, including ChiselStrike, to easily deploy to applications to Kubernetes, Fly.io, and other services. Please note that the Dockerfile only exports port 8080, which means that there's no access to the ChiselStrike RPC from outside. We can re-visit the decision once we have TLS support for gRPC: chiselstrike#1782 Also note that the generated image is pretty big because we need to run `npm install` to fetch dependencies, which requires Node to be present. The `chisel apply` command also has a hard-coded dependency to `npx`. Also, we're currently unable to use Alpine Linux, for example, as a super-slim base image because of: chiselstrike#1781
This adds Dockerfile generation to `create-chiselstrike-app`, which allows developers to build an image of their application and its dependencies, including ChiselStrike, to easily deploy to applications to Kubernetes, Fly.io, and other services. Please note that the Dockerfile only exports port 8080, which means that there's no access to the ChiselStrike RPC from outside. We can re-visit the decision once we have TLS support for gRPC: #1782 Also note that the generated image is pretty big because we need to run `npm install` to fetch dependencies, which requires Node to be present. The `chisel apply` command also has a hard-coded dependency to `npx`. Also, we're currently unable to use Alpine Linux, for example, as a super-slim base image because of: #1781
@penberg I suppose you meant "or build a glibc variant for Alpine" in the description? In any case, the first suggestion about a static executable sounds better to me :) |
I tried
, because the build system wants to download this static library, but it's not prebuilt in the denoland/rusty_v8 repo |
let's try https://wiki.alpinelinux.org/wiki/Running_glibc_programs then! |
@penberg I ended up building on top of glibc only weights ~5MiB in there, and still the resulting image is 468MiB, compared to 578 from node:18-slim. The difference isn't that vast compared to the original, because |
Apline Linux is great for really small Docker images, but
chiseld
currently expectsglibc
to be present. That doesn't work on Alpine, which uses musl. Let's either makechiseld
a fully static executable or build a musl variant for Alpine.The text was updated successfully, but these errors were encountered: