Skip to content

Commit e931647

Browse files
committed
dockerfile: add libc-devel to cross compile containers
It's not enough to install the native compiler we need also the libc header files for the code generator. Signed-off-by: Daniel Wagner <[email protected]>
1 parent e4d5a98 commit e931647

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile.ubuntu.armhf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN dpkg --add-architecture armhf && \
1515
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
1616
apt-get install --no-install-recommends -y \
1717
meson pkg-config ca-certificates git qemu-user-static \
18-
gcc gcc-arm-linux-gnueabihf libc-dev:armhf libjson-c-dev:armhf \
18+
gcc libc6-dev gcc-arm-linux-gnueabihf libc-dev:armhf libjson-c-dev:armhf \
1919
xz-utils && \
2020
apt-get clean && \
2121
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Dockerfile.ubuntu.ppc64le

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN dpkg --add-architecture ppc64el && \
1515
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
1616
apt-get install --no-install-recommends -y \
1717
meson pkg-config ca-certificates git qemu-user-static \
18-
gcc gcc-powerpc64le-linux-gnu libc-dev:ppc64el libjson-c-dev:ppc64el \
18+
gcc libc6-dev gcc-powerpc64le-linux-gnu libc-dev:ppc64el libjson-c-dev:ppc64el \
1919
xz-utils && \
2020
apt-get clean && \
2121
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Dockerfile.ubuntu.s390x

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN dpkg --add-architecture s390x && \
1515
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
1616
apt-get install --no-install-recommends -y \
1717
meson pkg-config ca-certificates git qemu-user-static \
18-
gcc gcc-s390x-linux-gnu libc-dev:s390x libjson-c-dev:s390x \
18+
gcc libc6-dev gcc-s390x-linux-gnu libc-dev:s390x libjson-c-dev:s390x \
1919
xz-utils && \
2020
apt-get clean && \
2121
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

0 commit comments

Comments
 (0)