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

Is it possible to support this install rover cli use inside node:16-alpine image? #7

Open
imoisharma opened this issue Feb 28, 2023 · 4 comments

Comments

@imoisharma
Copy link

No description provided.

@olivernybroe
Copy link
Contributor

As stated in the dockerfile, it is unfortunately not possible because of missing alpine support in a binary.

rover/Dockerfile

Lines 3 to 5 in cf43b8e

# We would rather use Alpine, but we want ARM64 and misses
# aarch64 musl binaries from the Rover project.
FROM debian:stable-slim as installer

@imoisharma
Copy link
Author

As stated in the dockerfile, it is unfortunately not possible because of missing alpine support in a binary.

rover/Dockerfile

Lines 3 to 5 in cf43b8e

# We would rather use Alpine, but we want ARM64 and misses
# aarch64 musl binaries from the Rover project.
FROM debian:stable-slim as installer

Can you tell me another way to use the node alpine image after building the Debian based above image for running the node js app?

@olivernybroe
Copy link
Contributor

@imoisharma I would instead recommend you to actually not do it that way, but run the rover cli as it's own container.

E.g. the way we used it was after our site has deployed, we run the Rover cli.
We are then running the Rover CLI introspect command and afterwards the publish command.

@imoisharma
Copy link
Author

imoisharma commented Mar 16, 2023

@imoisharma I would instead recommend you to actually not do it that way, but run the rover cli as its own container.

E.g. the way we used it was after our site has deployed, we run the Rover cli. We are then running the Rover CLI introspect command and afterwards the publish command.

@olivernybroe can you provide more in detail on how? I create a docker image based on the Dockerfile you provided above and then create a deployment to use that docker image ... it keeps failing w/ back-off restarting failed container.

I can see from the pod logs rover information, but it's not running successfully.
Screenshot 2023-03-16 at 12 19 02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants