[muslbuilder] re-order the packages to put more frequently updated ones last

pull/1235/head
Tim Stack 4 months ago
parent fd053ee2f7
commit f17d9c157b

@ -76,41 +76,15 @@ RUN curl -sSL https://tukaani.org/xz/xz-5.4.3.tar.gz | tar xvzC /extract/ && \
make install && \
cd /extract && rm -rf *
RUN curl -sSL https://www.libarchive.org/downloads/libarchive-3.6.2.tar.gz | tar xvzC /extract/ && \
cd /extract/libarchive-* && \
RUN curl -sSL https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.42/pcre2-10.42.tar.gz | tar xvzC /extract/ && \
cd /extract/pcre2-* && \
./configure --prefix=/fake.root \
--enable-jit \
--disable-shared \
"LDFLAGS=-L/fake.root/lib" \
"CPPFLAGS=-I/fake.root/include" \
&& \
make -j2 && \
make install && \
cd /extract && rm -rf *
RUN curl -sSL https://ftp.gnu.org/gnu/readline/readline-8.2.tar.gz | tar xvzC /extract/ && \
cd /extract/readline-* && \
./configure --prefix=/fake.root --disable-shared && \
make -j2 && \
make install && \
cd /extract && rm -rf *
RUN curl -sSL https://www.sqlite.org/2024/sqlite-autoconf-3450100.tar.gz | tar xvzC /extract/ && \
cd /extract/sqlite-* && \
./configure --disable-editline \
--disable-shared \
--prefix=/fake.root \
CFLAGS="${SQLITE_CFLAGS}" \
&& \
make -j2 && \
make install && \
cd /extract && rm -rf *
RUN curl -sSL https://www.openssl.org/source/openssl-1.0.2n.tar.gz | tar xvzC /extract/ && \
cd /extract/openssl-* && \
./config --prefix=/fake.root no-shared -fPIC && \
make -j2 && \
make install && \
cd /extract && rm -rf *
&& \
make -j2 && \
make install && \
cd /extract && rm -rf *
RUN curl -sSL https://ftp.gnu.org/gnu/ncurses/ncurses-6.4.tar.gz | tar xvzC /extract/ && \
cd /extract/ncurses-* && \
@ -129,15 +103,12 @@ RUN curl -sSL https://ftp.gnu.org/gnu/ncurses/ncurses-6.4.tar.gz | tar xvzC /ext
make -j2 install && \
cd /extract && rm -rf *
RUN curl -sSL https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.42/pcre2-10.42.tar.gz | tar xvzC /extract/ && \
cd /extract/pcre2-* && \
./configure --prefix=/fake.root \
--enable-jit \
--disable-shared \
&& \
make -j2 && \
make install && \
cd /extract && rm -rf *
RUN curl -sSL https://www.openssl.org/source/openssl-1.0.2n.tar.gz | tar xvzC /extract/ && \
cd /extract/openssl-* && \
./config --prefix=/fake.root no-shared -fPIC && \
make -j2 && \
make install && \
cd /extract && rm -rf *
RUN curl -sSL https://www.libssh2.org/download/libssh2-1.11.0.tar.gz | tar xvzC /extract/ && \
cd /extract/libssh2-* && \
@ -151,7 +122,25 @@ RUN curl -sSL https://www.libssh2.org/download/libssh2-1.11.0.tar.gz | tar xvzC
make install && \
cd /extract && rm -rf *
RUN curl -sSL https://curl.se/download/curl-8.1.2.tar.gz | tar xvzC /extract/ && \
RUN curl -sSL https://ftp.gnu.org/gnu/readline/readline-8.2.tar.gz | tar xvzC /extract/ && \
cd /extract/readline-* && \
./configure --prefix=/fake.root --disable-shared && \
make -j2 && \
make install && \
cd /extract && rm -rf *
RUN curl -sSL https://www.libarchive.org/downloads/libarchive-3.7.2.tar.gz | tar xvzC /extract/ && \
cd /extract/libarchive-* && \
./configure --prefix=/fake.root \
--disable-shared \
"LDFLAGS=-L/fake.root/lib" \
"CPPFLAGS=-I/fake.root/include" \
&& \
make -j2 && \
make install && \
cd /extract && rm -rf *
RUN curl -sSL https://curl.se/download/curl-8.6.0.tar.gz | tar xvzC /extract/ && \
cd /extract/curl-* && \
./configure --prefix=/fake.root \
--disable-shared \
@ -162,6 +151,17 @@ RUN curl -sSL https://curl.se/download/curl-8.1.2.tar.gz | tar xvzC /extract/ &&
make install && \
cd /extract && rm -rf *
RUN curl -sSL https://www.sqlite.org/2024/sqlite-autoconf-3450100.tar.gz | tar xvzC /extract/ && \
cd /extract/sqlite-* && \
./configure --disable-editline \
--disable-shared \
--prefix=/fake.root \
CFLAGS="${SQLITE_CFLAGS}" \
&& \
make -j2 && \
make install && \
cd /extract && rm -rf *
FROM --platform=$TARGETPLATFORM alpine:latest
COPY --from=depsbuilder /fake.root /fake.root

Loading…
Cancel
Save