Skip to content

Commit

Permalink
Use permalink for zlib download URL (#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosanchez authored Jan 23, 2024
1 parent 87d7366 commit 26fd77d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ENV TOOLCHAIN_DIR="/musl"
ENV PATH="$PATH:${TOOLCHAIN_DIR}/bin"
ENV CC="${TOOLCHAIN_DIR}/bin/gcc"

RUN curl -L -o zlib.tar.gz https://zlib.net/current/zlib-1.3.tar.gz && \
RUN curl -L -o zlib.tar.gz https://zlib.net/current/zlib.tar.gz && \
mkdir zlib && tar -xzf zlib.tar.gz -C zlib --strip-components 1 && cd zlib && \
./configure --static --prefix=${TOOLCHAIN_DIR} && \
make && make install && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN mkdir ${RESULT_LIB} && \
ENV PATH="$PATH:${RESULT_LIB}/bin"
ENV CC="musl-gcc"

RUN curl -L -o zlib.tar.gz https://zlib.net/current/zlib-1.3.tar.gz && \
RUN curl -L -o zlib.tar.gz https://zlib.net/current/zlib.tar.gz && \
mkdir zlib && tar -xzf zlib.tar.gz -C zlib --strip-components 1 && cd zlib && \
./configure --static --prefix=${RESULT_LIB} && \
make && make install && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV TOOLCHAIN_DIR="/musl"
ENV PATH="$PATH:${TOOLCHAIN_DIR}/bin"
ENV CC="${TOOLCHAIN_DIR}/bin/gcc"

RUN curl -L -o zlib.tar.gz https://zlib.net/current/zlib-1.3.tar.gz && \
RUN curl -L -o zlib.tar.gz https://zlib.net/current/zlib.tar.gz && \
mkdir zlib && tar -xzf zlib.tar.gz -C zlib --strip-components 1 && cd zlib && \
./configure --static --prefix=${TOOLCHAIN_DIR} && \
make && make install && \
Expand Down

0 comments on commit 26fd77d

Please sign in to comment.