summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_missing/host_missing/accel_missing/1079
blob: d54f05b1a0df97d0d8f06f15b00b18cf6adb0a22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Description of problem:
I am trying to build `arm64` image on my `x86_64` machine using `buildx` and I have encountered `qemu: uncaught target signal 11 (Segmentation fault) - core dumped` Error. <br>
#
Steps to reproduce:
1. Create a Dockerfile
```
FROM python:3.8-slim

ENV PYTHONDONTWRITEBYTECODE=1

# Install packages
RUN apt update
RUN apt-get install -y python3-pip
```
2. Run binfmt container
```
docker run --privileged --rm tonistiigi/binfmt --install all
```
3. Setup new builder
```
$ docker buildx create --name mybuilder
$ docker buildx use mybuilder
$ docker buildx inspect --bootstrap
```
4. Build Image
```
$ docker buildx build --platform linux/amd64,linux/arm64 --push -t user/failure-case .
```
#
Additional information: