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: install bats from source #180

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

crazy-max
Copy link
Collaborator

@crazy-max crazy-max commented Dec 9, 2024

closes #179
closes #178
follow-up #179 (comment)

setup_file and teardown_file are available since bats 1.2.1 but Ubuntu 20.04 currently ships Bats 1.2.0-dev. Let's install a stable release of bats.

src/Dockerfile Outdated Show resolved Hide resolved
@crazy-max
Copy link
Collaborator Author

Remaining failure is debian:bullseye-backport: https://github.com/tonistiigi/xx/actions/runs/12241031255/job/34145224508#step:5:962

#88 120.2 not ok 6 ppc64le-hellocargo-rustup
#88 120.2 # (from function `assert_success' in file bats-assert/src/assert.bash, line 114,
#88 120.2 #  from function `testHelloCargo' in file test-cargo.bats, line 30,
#88 120.2 #  from function `testHelloCargoRustup' in file test-cargo.bats, line 44,
#88 120.2 #  in test file test-cargo.bats, line 83)
#88 120.3 #   `testHelloCargoRustup' failed
#88 120.3 #
#88 120.3 # -- command failed --
#88 120.3 # status : 100
#88 120.3 # output (19 lines):
#88 120.3 #   + apt  install -y --no-install-recommends libc6-dev:ppc64el libgcc-10-dev:ppc64el
#88 120.3 #
#88 120.3 #   WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
#88 120.3 #
#88 120.3 #   Reading package lists...
#88 120.3 #   Building dependency tree...
#88 120.3 #   Reading state information...
#88 120.3 #   Some packages could not be installed. This may mean that you have
#88 120.3 #   requested an impossible situation or if you are using the unstable
#88 120.3 #   distribution that some required packages have not yet been created
#88 120.3 #   or been moved out of Incoming.
#88 120.3 #   The following information may help to resolve the situation:
#88 120.3 #
#88 120.3 #   The following packages have unmet dependencies:
#88 120.3 #    libc6-dev:ppc64el : Depends: linux-libc-dev:ppc64el but it is not going to be installed
#88 120.3 #    libgssapi-krb5-2:ppc64el : Depends: libcom-err2:ppc64el (>= 1.43.9) but it is not going to be installed
#88 120.3 #    libkrb5-3:ppc64el : Depends: libcom-err2:ppc64el (>= 1.43.9) but it is not going to be installed
#88 120.3 #                        Depends: libssl1.1:ppc64el (>= 1.1.0) but it is not going to be installed
#88 120.3 #   E: Unable to correct problems, you have held broken packages.
#88 120.3 # --

@crazy-max crazy-max merged commit ddc255f into tonistiigi:master Dec 9, 2024
51 of 56 checks passed
@crazy-max crazy-max deleted the bats-from-source branch December 9, 2024 18:42
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