Skip to content

Commit

Permalink
remove libstdc++ conflict from box86 deb
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol authored Nov 17, 2024
1 parent 1158c22 commit 4a293af
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,14 @@ RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends --no-install-suggests \
box64 \
&& apt-get download -y
box86-generic-arm \
&& dpkg-deb -R *.deb box86_tmp \
&& rm box86_tmp/usr/lib/i386-linux-gnu/libstdc++.so.6 \
&& dpkg-deb -b box86_tmp new_box86.deb \
&& dpkg -i new_box86.deb \
&& rm -rf *.deb \
&& rm -rf box86_tmp \
&& sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \
&& dpkg-reconfigure --frontend=noninteractive locales \
# Create unprivileged user
Expand Down
7 changes: 7 additions & 0 deletions bullseye/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,14 @@ RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends --no-install-suggests \
box64 \
&& apt-get download -y
box86-generic-arm \
&& dpkg-deb -R *.deb box86_tmp \
&& rm box86_tmp/usr/lib/i386-linux-gnu/libstdc++.so.6 \
&& dpkg-deb -b box86_tmp new_box86.deb \
&& dpkg -i new_box86.deb \
&& rm -rf *.deb \
&& rm -rf box86_tmp \
&& sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \
&& dpkg-reconfigure --frontend=noninteractive locales \
# Create unprivileged user
Expand Down

0 comments on commit 4a293af

Please sign in to comment.