From f2caeacea9322ef6bb3fdff8b601991180402f1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8D=9A=E4=BC=9F?= Date: Sun, 15 Jun 2025 20:21:14 +0800 Subject: [PATCH] Update Dockerfile.ubuntu22.04 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Contains two necessary changes for build success: 1. Move `DEBIAN_FRONTEND` to avoid timezone interaction. Current `ARG DEBIAN_FRONTEND` not seems to work. 2. Install `libfl-dev`, otherwise OpenSTA make will failed: ``` 0.717 CMake Error: The following variables are used in this project, but they are set to NOTFOUND. 0.717 Please set them or make sure they are set and tested correctly in the CMake files: 0.717 /OpenSTA/FLEX_INCLUDE_DIR 0.717 used as include directory in directory /OpenSTA ``` Signed-off-by: ηŽ‹εšδΌŸ --- Dockerfile.ubuntu22.04 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.ubuntu22.04 b/Dockerfile.ubuntu22.04 index 9a803c8f..69bca05b 100644 --- a/Dockerfile.ubuntu22.04 +++ b/Dockerfile.ubuntu22.04 @@ -3,9 +3,8 @@ LABEL author="James Cherry" LABEL maintainer="James Cherry " # Install basics -ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && \ - apt-get install -y \ + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ wget \ cmake \ gcc \ @@ -15,6 +14,7 @@ RUN apt-get update && \ swig \ bison \ flex \ + libfl-dev \ automake \ autotools-dev