Skip to content

Commit

Permalink
add-architecture i386
Browse files Browse the repository at this point in the history
  • Loading branch information
pfichtner committed Dec 20, 2022
1 parent 4adafa2 commit 5cbe41e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ ARG BUILD_USER=builduser
ADD patch-cnf-autoinstall.patch /tmp
ADD prerequisites/${PARENT}-*-packages.txt /tmp/

RUN apt-get -y update && \
RUN dpkg --add-architecture i386 && \
apt-get -y update && \
apt-get -y upgrade && \
apt-get -y dist-upgrade && \
[ -r /tmp/${PARENT}-add-packages.txt ] && sed 's/#.*$//;/^$/d' /tmp/${PARENT}-add-packages.txt | DEBIAN_FRONTEND=noninteractive xargs apt-get -y install && rm -f /tmp/${PARENT}-add-packages.txt || true
Expand Down
2 changes: 1 addition & 1 deletion prerequisites/ubuntu:20.04-prerequisites-packages.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pv cpio rsync kmod execstack imagemagick inkscape graphicsmagick subversion git bc unar wget sudo gcc g++ binutils autoconf automake autopoint libtool-bin make bzip2 libncurses5-dev libreadline-dev zlib1g-dev flex bison patch texinfo tofrodos gettext pkg-config ecj fastjar perl libstring-crc32-perl ruby gawk python libusb-dev unzip intltool libacl1-dev libcap-dev libc6-dev-i386 lib32ncurses5-dev gcc-multilib bsdmainutils lib32stdc++6 libglib2.0-dev ccache cmake lib32z1-dev libsqlite3-dev sqlite3 libzstd-dev netcat curl uuid-dev libssl-dev libgnutls28-dev
libzstd-dev sqlite3
libzstd-dev:i386 sqlite3:i386
2 changes: 0 additions & 2 deletions scripts/generate-prerequisites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ writePackageFile() {
sed 's/^sudo //g' | \
# only accept lines starting with pattern A or pattern B (and cut the matching pattern), yes, this is ubuntu specific at the moment
sed -n -E 's/^apt-get -y install |^apt -y install //p' | \
# if there are packages named foo:i386 or bar:i386 ignore the "i386"
sed 's/:i386//g' | \
# collapse multiple whitespaces
tr -s '[:blank:]' >"$TARGET_FILE"
}
Expand Down

0 comments on commit 5cbe41e

Please sign in to comment.