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

check if Alpine can be used to make images smaller in size #9

Closed
hewag1975 opened this issue Jul 12, 2022 · 1 comment
Closed

check if Alpine can be used to make images smaller in size #9

hewag1975 opened this issue Jul 12, 2022 · 1 comment

Comments

@hewag1975
Copy link
Member

No description provided.

@hewag1975
Copy link
Member Author

Here is a short summary of my trial:

Ressources:

Findings:

  1. difficult to install packages with system dependencies. While this worked e.g. for data.table I was not able to install sf.
FROM rhub/r-minimal:4.2.1
RUN installr -d data.table # succeeds
RUN installr -d sf # fails

Main issues are missing libraries and/or dependencies. Also there is no mapping between Ubuntu libraries and Alpine libraries, so we would have to make our way through this ourselves.... (without knowing of all required functionalities are available at all).

  1. There doesn't seem to be AWS CLI support for Alpine, see this issue. Trying to add download and install it manually made me end up in Python hell. So, even though there might be hacks to get around this, I doubt that it's worth the effort.

  2. I did not even try to install packages from our DRAT repo, but this might end up becoming another issue....

@cstepper, maybe you want to add your thoughts here...

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