fix(qemu): segfault on arm no longer occurs
qemu was segfaulting with: ``` Processing triggers for libc-bin (2.31-13+deb11u6) ... qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (core dumped) qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (core dumped) dpkg: error processing package libc-bin (--configure): installed libc-bin package post-installation script subprocess returned error exit status 139 ``` so qemu was removed from the image !4
This commit is contained in:
14
Dockerfile
14
Dockerfile
@ -1,11 +1,7 @@
|
|||||||
FROM debian
|
FROM debian:11.7
|
||||||
|
|
||||||
|
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
RUN export DEBIAN_FRONTEND=noninteractive \
|
|
||||||
&& apt-get update && apt --fix-broken install \
|
|
||||||
&& apt install -y libc-bin locales-all
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
RUN export DEBIAN_FRONTEND=noninteractive \
|
RUN export DEBIAN_FRONTEND=noninteractive \
|
||||||
@ -17,17 +13,15 @@ RUN export DEBIAN_FRONTEND=noninteractive \
|
|||||||
gnupg2 \
|
gnupg2 \
|
||||||
software-properties-common \
|
software-properties-common \
|
||||||
python3 \
|
python3 \
|
||||||
python3-pip || true
|
python3-pip
|
||||||
|
|
||||||
|
|
||||||
# Install Docker and qemu
|
|
||||||
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
|
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
|
||||||
add-apt-repository "deb https://download.docker.com/linux/debian $(lsb_release -cs) stable" && \
|
add-apt-repository "deb https://download.docker.com/linux/debian $(lsb_release -cs) stable" && \
|
||||||
apt-get update && apt-get install -y \
|
apt-get update && apt-get install -y \
|
||||||
docker-buildx-plugin \
|
docker-buildx-plugin \
|
||||||
docker-ce-cli \
|
docker-ce-cli \
|
||||||
binfmt-support \
|
binfmt-support=2.2.1-1+deb11u1
|
||||||
qemu-user-static || true
|
|
||||||
|
|
||||||
|
|
||||||
# Write version file
|
# Write version file
|
||||||
|
Reference in New Issue
Block a user