Skip to content

Commit

Permalink
Package Docker release step: ensure compiler is installed (#3789)
Browse files Browse the repository at this point in the history
The "Package Docker" job failed with "error: linker `cc` not found", see
https://github.com/model-checking/kani/actions/runs/12371001460/job/34526835431.

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
  • Loading branch information
tautschnig authored Dec 17, 2024
1 parent 9fd39c0 commit 3f5f8e8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/ci/Dockerfile.bundle-release-20-04
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ COPY ./target/package/kani-verifier-*[^e] ./kani-verifier
# directory. Rustup is purged for space.

RUN apt-get update && \
apt-get install -y curl && \
apt-get install -y curl build-essential && \
curl -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none && \
(cd kani-verifier/; cargo) && \
rustup default $(rustup toolchain list | awk '{ print $1 }') && \
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/Dockerfile.bundle-test-ubuntu-20-04
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive \
DEBCONF_NONINTERACTIVE_SEEN=true
RUN apt-get update && \
apt-get install -y curl && \
apt-get install -y curl build-essential && \
curl -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"

Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/Dockerfile.bundle-test-ubuntu-20-04-alt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
DEBCONF_NONINTERACTIVE_SEEN=true \
KANI_HOME="/tmp"
RUN apt-get update && \
apt-get install -y curl && \
apt-get install -y curl build-essential && \
curl -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"

Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/Dockerfile.bundle-test-ubuntu-22-04
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive \
DEBCONF_NONINTERACTIVE_SEEN=true
RUN apt-get update && \
apt-get install -y curl && \
apt-get install -y curl build-essential && \
curl -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"

Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/Dockerfile.bundle-test-ubuntu-24-04
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive \
DEBCONF_NONINTERACTIVE_SEEN=true
RUN apt-get update && \
apt-get install -y curl && \
apt-get install -y curl build-essential && \
curl -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"

Expand Down

0 comments on commit 3f5f8e8

Please sign in to comment.