From 3d216d4a357661082a26bc0b96f713084d73eeaf Mon Sep 17 00:00:00 2001 From: "David J. Malan" Date: Fri, 2 Jan 2026 10:09:12 -0500 Subject: [PATCH 1/2] Install BFG Repo-Cleaner in Dockerfile Added installation of BFG Repo-Cleaner to Dockerfile. --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6d6d12d..1203a7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -243,6 +243,12 @@ RUN apt update && \ groupadd docker +# Install BFG +# https://rtyley.github.io/bfg-repo-cleaner/ +RUN mkdir --parents /opt/share && \ + curl --location https://repo1.maven.org/maven2/com/madgag/bfg/1.15.0/bfg-1.15.0.jar --output /opt/share/bfg.jar + + # Install Python packages RUN pip3 install --no-cache-dir \ autopep8 \ @@ -260,7 +266,7 @@ RUN pip3 install --no-cache-dir \ "style50>2.10.0" \ "submit50<4" \ lib50 - + # Copy files to image COPY ./etc /etc From 1cb88a692f33c5ff6b978b8891b24628b279ece6 Mon Sep 17 00:00:00 2001 From: "David J. Malan" Date: Fri, 2 Jan 2026 10:10:02 -0500 Subject: [PATCH 2/2] Add alias for bfg command in cli.sh --- etc/profile.d/cli.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/profile.d/cli.sh b/etc/profile.d/cli.sh index 779b08e..b2a2f95 100644 --- a/etc/profile.d/cli.sh +++ b/etc/profile.d/cli.sh @@ -15,6 +15,7 @@ if [ "$(whoami)" != "root" ]; then fi # Aliases + alias bfg="java -jar /opt/share/bfg.jar" alias cd="HOME=\"$WORKDIR\" cd" alias cowsay="/usr/games/cowsay" alias cp="cp -i"