Comments (12)
I can see the same behaviour for linux/s390x
docker run -it --entrypoint=/bin/sh alpine/git
/git # uname -a
Linux 014cd4d0f800 5.3.7-200.fc30.s390x #1 SMP Fri Oct 18 19:49:30 UTC 2019 s390x Linux
/git # apk --update --no-cache add bash
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/s390x/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/s390x/APKINDEX.tar.gz
(1/2) Installing readline (8.1.0-r0)
(2/2) Installing bash (5.1.4-r0)
Executing bash-5.1.4-r0.post-install
Executing busybox-1.33.1-r3.trigger
2 errors; 28 MiB in 34 packages
The problem exists for latest, v2.32.0, and 1.0.31 and doesn't exist for v2.30.2 and 1.0.30
from git.
thanks to report this issue. I don't have ARM environment to run the test. In fact, i only can test under "amd64"
The PR should not relate to the error, it is a fix to make sure pipeline build works. Maybe let's run some tests if you can help.
there are several tags recently we built with multi-arch, could you confirm any tags work or not work from above screenshot?
from git.
I have the same results on ARM (aarch64
):
/git # uname -a
Linux abf6e669ba10 5.10.47-linuxkit #1 SMP PREEMPT Sat Jul 3 21:50:16 UTC 2021 aarch64 Linux
The problem exists for latest
, v2.32.0
and 1.0.31
Does not exist for v2.30.2
and 1.0.30
.
from git.
Running apk fix
before any other apk
commands is fine for us 👍
from git.
Hi, this issue is showing up again unfortunately. Running apk fix
in the latest images fails now as well.
Logs from latest
and v2.32.0
(the logs are identical):
$ docker run -it --entrypoint=/bin/sh alpine/git:v2.32.0
/git # apk fix
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz
(1/1) [APK unavailable, skipped] Reinstalling ca-certificates (20191127-r5)
1 error; 25 MiB in 32 packages
v2.30.2
still works without apk fix
:
$ docker run -it --entrypoint=/bin/sh alpine/git:v2.30.2
/git # apk --update --no-cache add bash
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz
(1/2) Installing readline (8.1.0-r0)
(2/2) Installing bash (5.1.4-r0)
Executing bash-5.1.4-r0.post-install
Executing busybox-1.33.1-r3.trigger
OK: 27 MiB in 34 packages
I'm still running this from an ARM64 system (Apple M1)
$ docker run -it --entrypoint=/bin/sh alpine/git:v2.32.0
/git # uname -a
Linux 3dacf3f32152 5.10.76-linuxkit #1 SMP PREEMPT Mon Nov 8 11:22:26 UTC 2021 aarch64 Linux
For now, we will try to pin the image we use to v2.30.2
.
from git.
if can prove, we can add apx fix
in Dockerfile
from git.
let me think about if I can add test cases in multi arch via Travis CI.
https://docs.travis-ci.com/user/multi-cpu-architectures/
from git.
Finally I saw this issue by my way (with help by Travis CI multi-arch build support)
https://app.travis-ci.com/github/ozbillwang/multi-arch-docker-image-test-case/builds/239494444
from git.
I run the tests.
when built from my laptop, and push to hub.docker.com, it is fine, what ever I added apk fix
in Dockerfile
or not.
But if I built from Travis CI, it is always failed, I can't directly run apk add bash
from the image, what ever I add apk fix
in Dockerfile
or not.
I did extra test to build the image via Circle CI, I got same issue. If you are interested on how I built multi-arch image in circle ci, please reference my another repo: https://github.com/ozbillwang/multi-arch-docker-build
I give up. If you meet this issue, just add a command apk fix
before install any tools.
from git.
Thanks for the information and detail.
There must be some reasons, but not sure anyone know the root cause.
from git.
Do we still have this issue with latest tag v2.36.2 ?
from git.
no reply, close it first
from git.
Related Issues (20)
- Any good example how to add .ssh key from environment variable? HOT 2
- Host key verification failed when trying to clone in kubernetes HOT 2
- Can not clone repository HOT 2
- Update git() function HOT 1
- what the heck is the latest tag? Git v1 or git v2? HOT 1
- Alpine docker does not support git 2.35.2 HOT 8
- BUG: Cannot install the `patch` package with the images pushed as "latest" on 2022-08-22 HOT 14
- Add riscv64 support HOT 7
- Vulnerability in libexpat < 2.4.9 CVE-2022-40674 HOT 2
- fatal: detected dubious ownership in repository at '/git' HOT 3
- sed, cmd_, uname not found while trying to run git-sh-setup for GitSubmodules. HOT 4
- Docker is sunsetting Free Team organizations HOT 4
- Monthly builds are not running HOT 9
- curl does not work on latest HOT 5
- How can i upgrade the git version in alpine/git:v2.24.3-user ? HOT 1
- Re-enable non-root image builds HOT 3
- Git pull_request - perl missing in image HOT 1
- Can't connect to any url HOT 1
- How to use HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git.