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

Fix pacman command to clean cache + set the default shell for the Dockerfile #40

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

Antiz96
Copy link
Owner

@Antiz96 Antiz96 commented Jan 22, 2024

No description provided.

The default answer to cleaning the cached packages is 'N' (no), so using --noconfirm will actually **not** clean the packages.
Use 'yes | cmd' instead.
As I'm using a pipe ( | ), I need to explicitely set the shell to bash to avoid errors
https://github.com/hadolint/hadolint/wiki/DL4006
@Antiz96 Antiz96 changed the title Fix Fix pacman command to clean cache + set the default shell for the Dockerfile Jan 22, 2024
@Antiz96 Antiz96 merged commit 32da93a into main Jan 22, 2024
1 check passed
@Antiz96 Antiz96 deleted the fix branch January 22, 2024 10:49
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

Successfully merging this pull request may close these issues.

1 participant