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

dockerfile: fix test-base-rhel #158

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Conversation

crazy-max
Copy link
Collaborator

related to #157 (comment)

https://github.com/tonistiigi/xx/actions/runs/9254378665/job/25456054906?pr=157#step:6:289

0.059 + yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
0.060 /bin/sh: line 5: yum: command not found

@crazy-max crazy-max mentioned this pull request May 27, 2024
@crazy-max crazy-max marked this pull request as ready for review May 27, 2024 12:44
@crazy-max crazy-max requested a review from tonistiigi May 27, 2024 12:44
src/Dockerfile Outdated Show resolved Hide resolved
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
if command -v dnf >/dev/null 2>/dev/null; then
dnf install -y bats vim
else
yum install -y bats vim
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

follow-up nit: would be good to make it so that the package list is not duplicated so multiple lines don't need to be changed for modifications and they can't accidentally diverge (at least until both use same package names). Eg. can put the arg0 to a variable.

@tonistiigi tonistiigi merged commit 769f2b0 into tonistiigi:master Jun 13, 2024
27 of 28 checks passed
@crazy-max crazy-max deleted the fix-rocky branch June 13, 2024 07:27
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.

2 participants