Skip to content

Commit

Permalink
Don't install static libraries in CI
Browse files Browse the repository at this point in the history
This isn't strictly necessary as we're building a container anyway.
  • Loading branch information
yorickpeterse committed Jan 16, 2025
1 parent fc445af commit 262aa73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ci/docker/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ ENV RUSTUP_HOME /opt/rustup
ENV CARGO_HOME /opt/cargo

RUN apk add --update build-base tar git rustup rclone \
llvm$LLVM_VERSION llvm$LLVM_VERSION-dev llvm$LLVM_VERSION-static \
libstdc++-dev zlib-static zstd-static libxml2-static
llvm$LLVM_VERSION llvm$LLVM_VERSION-dev libstdc++-dev zlib-dev \
zstd-dev libxml2-dev

RUN rustup-init --quiet -y --no-modify-path --profile minimal \
--component clippy,rustfmt --default-toolchain $RUST_VERSION
5 changes: 2 additions & 3 deletions ci/docker/fedora/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ ENV RUSTUP_HOME /opt/rustup
ENV CARGO_HOME /opt/cargo

RUN sudo dnf install --assumeyes --quiet gcc make tar git rustup rclone \
llvm$LLVM_VERSION llvm$LLVM_VERSION-devel \
llvm$LLVM_VERSION-static libstdc++-devel libstdc++-static \
libffi-devel zlib-devel
llvm$LLVM_VERSION llvm$LLVM_VERSION-devel libstdc++-devel libffi-devel \
zlib-devel

RUN rustup-init --quiet -y --no-modify-path --profile minimal \
--component clippy,rustfmt --default-toolchain $RUST_VERSION
Expand Down

0 comments on commit 262aa73

Please sign in to comment.