From 18f151570f735fe78c48386303129f5738ac85f4 Mon Sep 17 00:00:00 2001 From: "Robert D. French" Date: Fri, 19 Jul 2024 22:53:32 -0400 Subject: [PATCH] One package per run for clarity --- Dockerfile | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 34dc7b2..411308e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,21 +1,16 @@ FROM debian:bookworm # Install necessary tools and dependencies -RUN apt-get update && apt-get install -y \ - build-essential \ - gdb \ - git \ - && rm -rf /var/lib/apt/lists/* - RUN apt-get update -RUN apt-get install -y vim - -# This gives us the 'column' command -RUN apt-get install -y bsdextrautils +RUN apt-get install -y build-essential +RUN apt-get install -y gdb +RUN apt-get install -y bsdextrautils # This gives us the 'column' command RUN apt-get install -y time RUN apt-get install -y man-db RUN apt-get install -y checksec +# Install and configure vim +RUN apt-get install -y vim RUN printf "set textwidth=80\nsyn on\n" > /root/.vimrc # Set the working directory in the container