mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
[docker] fix multi-arch docker builds (#11199)
This commit is contained in:
@@ -85,6 +85,11 @@ jobs:
|
||||
--build-arg VCS_REF=${GITHUB_SHA::8} \
|
||||
${TAGS} --file ${DOCKER_FILE} ." >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
with:
|
||||
image: tonistiigi/binfmt:qemu-v8.1.5
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1
|
||||
|
||||
|
||||
@@ -4,6 +4,12 @@ FROM ubuntu:22.04
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
ENV LANG en_US.UTF-8
|
||||
|
||||
# Resolves issue with installing libc-bin
|
||||
RUN rm /var/lib/dpkg/info/libc-bin.* \
|
||||
&& apt-get clean -y \
|
||||
&& apt-get update -y \
|
||||
&& apt-get install --no-install-recommends -y libc-bin
|
||||
|
||||
RUN set -x \
|
||||
&& apt-get update -y \
|
||||
&& apt-get install -y locales \
|
||||
|
||||
Reference in New Issue
Block a user