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

Replace apt with apt-get to Avoid Unstable CLI Interface Warning in Docker Build #109

Closed
foxytanuki opened this issue Nov 23, 2023 · 0 comments · Fixed by #110
Closed

Replace apt with apt-get to Avoid Unstable CLI Interface Warning in Docker Build #109

foxytanuki opened this issue Nov 23, 2023 · 0 comments · Fixed by #110

Comments

@foxytanuki
Copy link
Member

We're receiving a warning about apt's unstable CLI interface in our Docker build. I recommend switching to apt-get to resolve this.

Here is an excerpt from our build log showing the warning:

Step 5/13 : RUN apt update && apt install -y curl
 ---> Running in f45ef5370a50

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

...

Using apt-get in place of apt is recommended for script usage as it provides a stable CLI interface.

@foxytanuki foxytanuki linked a pull request Nov 23, 2023 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant