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 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"