File tree Expand file tree Collapse file tree
infra/base-images/base-builder Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ apt-get update && apt install -y $SWIFT_PACKAGES && \
3737 apt install -y $SWIFT_SYMBOLIZER_PACKAGES --no-install-recommends
3838
3939
40- wget -q https://download.swift.org/swift-5.8 .1-release/ubuntu2004/swift-5.8 .1-RELEASE/swift-5.8 .1-RELEASE-ubuntu20.04.tar.gz
41- tar xzf swift-5.8 .1-RELEASE-ubuntu20.04.tar.gz
42- cp -r swift-5.8 .1-RELEASE-ubuntu20.04/usr/* /usr/
43- rm -rf swift-5.8 .1-RELEASE-ubuntu20.04.tar.gz swift-5.8 .1-RELEASE-ubuntu20.04/
40+ wget -q https://download.swift.org/swift-5.10 .1-release/ubuntu2004/swift-5.10 .1-RELEASE/swift-5.10 .1-RELEASE-ubuntu20.04.tar.gz
41+ tar xzf swift-5.10 .1-RELEASE-ubuntu20.04.tar.gz
42+ cp -r swift-5.10 .1-RELEASE-ubuntu20.04/usr/* /usr/
43+ rm -rf swift-5.10 .1-RELEASE-ubuntu20.04.tar.gz swift-5.10 .1-RELEASE-ubuntu20.04/
4444# TODO: Move to a seperate work dir
4545git clone https://github.com/llvm/llvm-project.git
4646cd llvm-project
Original file line number Diff line number Diff line change @@ -26,9 +26,17 @@ RUN apt-get update && \
2626 make autoconf libtool pkg-config \
2727 zlib1g-dev liblzma-dev \
2828 $EXTRA_PACKAGES
29+
2930# Build requires automake 1.16.3
3031RUN curl -LO http://mirrors.kernel.org/ubuntu/pool/main/a/automake-1.16/automake_1.16.5-1.3_all.deb && \
3132 apt install ./automake_1.16.5-1.3_all.deb
33+
34+ # Disable buggy TSCII charset in glibc
35+ RUN sed -i.orig -e '/TSCII/ s/.*/#&/' /usr/lib/x86_64-linux-gnu/gconv/gconv-modules
36+ # For newer distros
37+ # RUN sed -i.orig -e '/TSCII/ s/.*/#&/' /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.d/gconv-modules-extra.conf
38+ RUN iconvconfig
39+
3240RUN git clone --depth 1 https://gitlab.gnome.org/GNOME/libxml2.git
3341WORKDIR libxml2
3442COPY build.sh $SRC/
You can’t perform that action at this time.
0 commit comments