summary refs log tree commit diff stats
path: root/results/classifier/user-mode-bugs/1821006
blob: efc5a4b7a0117c322f253895e756e791a6539414 (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
33
34
35
36
37
qemu: Unsupported syscall: 382

I used

qemu-user-static/stable,stable,now 1:2.8+dfsg-6+deb9u5 amd64 [installed]

When I try to build an image of a docker for an arm, an error occurs.

This affects the operation of applications.


Dockerfile

ARG ARCH
FROM ${ARCH}/debian:buster-slim

RUN \
    printf "Install dependencies...\n" && \
    apt-get update && \
    apt-get install -y --no-install-recommends ca-certificates curl

RUN curl https://google.com

EOF

The command that I run

docker build --build-arg ARCH=arm32v7 --file ./Dockerfile -t test .


root@unit6:/lib/binfmt.d# cat qemu-arm-static.conf 
:qemu-arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\xff\xff:/usr/bin/qemu-arm-static:F

Here is a related discussion.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923479