Skip to content

Commit

Permalink
Update to Jammy in rebuild.sh and stop unnecessarily installing Lin…
Browse files Browse the repository at this point in the history
…ux headers
  • Loading branch information
alexforster committed Jan 8, 2023
1 parent 62745f0 commit 3d75000
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ jobs:
sudo apt-get install \
build-essential \
libelf-dev:${{ matrix.os-arch }} \
linux-headers-generic:${{ matrix.os-arch }} \
zlib1g-dev:${{ matrix.os-arch }}
- name: Install libbpf-dev
Expand Down
4 changes: 2 additions & 2 deletions rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ DOCKER="docker"
set -eu -o pipefail

${DOCKER} build -t libbpf-sys-builder - <<'EOF'
FROM amd64/ubuntu:focal AS libbpf-sys-builder
FROM amd64/ubuntu:jammy AS libbpf-sys-builder
ENV LANG=C.UTF-8 \
LC_ALL=C.UTF-8
Expand All @@ -18,7 +18,7 @@ SHELL ["/bin/bash", "-eu", "-o", "pipefail", "-c"]
RUN \
export DEBIAN_FRONTEND=noninteractive; \
apt-get -q update; \
apt-get -q install -y curl build-essential linux-headers-generic zlib1g-dev libelf-dev libclang-dev llvm clang pkg-config; \
apt-get -q install -y curl build-essential zlib1g-dev libelf-dev libclang-dev llvm clang pkg-config; \
apt-get -q clean autoclean;
RUN \
Expand Down

0 comments on commit 3d75000

Please sign in to comment.