From ba56b692edb5e353bd503e93e1a5c8c3283a4619 Mon Sep 17 00:00:00 2001 From: 0xawaz Date: Mon, 25 Nov 2024 14:06:48 +0100 Subject: [PATCH] build: fix hadolint warn --- .hadolint.yaml | 3 +++ fhevm-engine/fhevm-db/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .hadolint.yaml diff --git a/.hadolint.yaml b/.hadolint.yaml new file mode 100644 index 00000000..6454064c --- /dev/null +++ b/.hadolint.yaml @@ -0,0 +1,3 @@ +ignored: + - DL3018 + - DL3008 \ No newline at end of file diff --git a/fhevm-engine/fhevm-db/Dockerfile b/fhevm-engine/fhevm-db/Dockerfile index 6d60f280..e2752c66 100644 --- a/fhevm-engine/fhevm-db/Dockerfile +++ b/fhevm-engine/fhevm-db/Dockerfile @@ -3,7 +3,7 @@ FROM rust:1.74 # Install dependencies and tools RUN apt-get update && \ - apt-get install -y libpq-dev postgresql-client vim-common && \ + apt-get install -y --no-install-recommends libpq-dev postgresql-client vim-common && \ cargo install sqlx-cli --no-default-features --features postgres --locked && \ apt-get clean && rm -rf /var/lib/apt/lists/*