Skip to content

Commit

Permalink
build: use ubuntu 24.04 as base image, remove FORCE_UNSAFE_CONFIGURE
Browse files Browse the repository at this point in the history
Updated the base image from Ubuntu 22.04 to Ubuntu 24.04 to meet the requirements of the latest Buildroot versions (adding xxd as it did not come with the new base image). As a result of this update, the FORCE_UNSAFE_CONFIGURE flag is no longer needed, simplifying the build configuration and improving security.
  • Loading branch information
barrenechea authored and svenrademakers committed Jul 30, 2024
1 parent c8e453f commit 58415ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
/work/setup_build.sh
cd /work/buildroot
make BR2_EXTERNAL=../tp2bmc tp2bmc_defconfig
FORCE_UNSAFE_CONFIGURE=1 make
make
- name: stamp images
run: |
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/devcontainers/base:ubuntu22.04
FROM mcr.microsoft.com/devcontainers/base:ubuntu24.04

RUN apt-get update && apt-get install -y \
build-essential \
Expand All @@ -24,4 +24,6 @@ RUN apt-get update && apt-get install -y \
libncurses-dev \
u-boot-tools \
mkbootimg \
&& rm -rf /var/lib/apt/lists/*
xxd \
&& rm -rf /var/lib/apt/ \
&& rm -rf /var/cache/apt/

0 comments on commit 58415ed

Please sign in to comment.