Skip to content

Commit 3d216d4

Browse files
authored
Install BFG Repo-Cleaner in Dockerfile
Added installation of BFG Repo-Cleaner to Dockerfile.
1 parent 34eeb47 commit 3d216d4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,12 @@ RUN apt update && \
243243
groupadd docker
244244
245245
246+
# Install BFG
247+
# https://rtyley.github.io/bfg-repo-cleaner/
248+
RUN mkdir --parents /opt/share && \
249+
curl --location https://repo1.maven.org/maven2/com/madgag/bfg/1.15.0/bfg-1.15.0.jar --output /opt/share/bfg.jar
250+
251+
246252
# Install Python packages
247253
RUN pip3 install --no-cache-dir \
248254
autopep8 \
@@ -260,7 +266,7 @@ RUN pip3 install --no-cache-dir \
260266
"style50>2.10.0" \
261267
"submit50<4" \
262268
lib50
263-
269+
264270
265271
# Copy files to image
266272
COPY ./etc /etc

0 commit comments

Comments
 (0)