Skip to content

Commit 3f5f8e8

Browse files
authored
Package Docker release step: ensure compiler is installed (#3789)
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.
1 parent 9fd39c0 commit 3f5f8e8

5 files changed

+5
-5
lines changed

scripts/ci/Dockerfile.bundle-release-20-04

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ COPY ./target/package/kani-verifier-*[^e] ./kani-verifier
1717
# directory. Rustup is purged for space.
1818

1919
RUN apt-get update && \
20-
apt-get install -y curl && \
20+
apt-get install -y curl build-essential && \
2121
curl -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none && \
2222
(cd kani-verifier/; cargo) && \
2323
rustup default $(rustup toolchain list | awk '{ print $1 }') && \

scripts/ci/Dockerfile.bundle-test-ubuntu-20-04

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ FROM ubuntu:20.04
77
ENV DEBIAN_FRONTEND=noninteractive \
88
DEBCONF_NONINTERACTIVE_SEEN=true
99
RUN apt-get update && \
10-
apt-get install -y curl && \
10+
apt-get install -y curl build-essential && \
1111
curl -sSf https://sh.rustup.rs | sh -s -- -y
1212
ENV PATH="/root/.cargo/bin:${PATH}"
1313

scripts/ci/Dockerfile.bundle-test-ubuntu-20-04-alt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
99
DEBCONF_NONINTERACTIVE_SEEN=true \
1010
KANI_HOME="/tmp"
1111
RUN apt-get update && \
12-
apt-get install -y curl && \
12+
apt-get install -y curl build-essential && \
1313
curl -sSf https://sh.rustup.rs | sh -s -- -y
1414
ENV PATH="/root/.cargo/bin:${PATH}"
1515

scripts/ci/Dockerfile.bundle-test-ubuntu-22-04

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ FROM ubuntu:22.04
77
ENV DEBIAN_FRONTEND=noninteractive \
88
DEBCONF_NONINTERACTIVE_SEEN=true
99
RUN apt-get update && \
10-
apt-get install -y curl && \
10+
apt-get install -y curl build-essential && \
1111
curl -sSf https://sh.rustup.rs | sh -s -- -y
1212
ENV PATH="/root/.cargo/bin:${PATH}"
1313

scripts/ci/Dockerfile.bundle-test-ubuntu-24-04

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ FROM ubuntu:24.04
77
ENV DEBIAN_FRONTEND=noninteractive \
88
DEBCONF_NONINTERACTIVE_SEEN=true
99
RUN apt-get update && \
10-
apt-get install -y curl && \
10+
apt-get install -y curl build-essential && \
1111
curl -sSf https://sh.rustup.rs | sh -s -- -y
1212
ENV PATH="/root/.cargo/bin:${PATH}"
1313

0 commit comments

Comments
 (0)