Skip to content

Commit

Permalink
Add localpurge in pfdebian
Browse files Browse the repository at this point in the history
  • Loading branch information
JeGoi committed Oct 2, 2024
1 parent f865ee3 commit aea2aa1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions containers/pfdebian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,15 @@ RUN curl -fsSL https://inverse.ca/downloads/GPG_PUBLIC_KEY | gpg --dearmor -o /e
# Install Deps
RUN /usr/local/pf/addons/dev-helpers/debian/install-pf-dependencies.sh && \
rm -f /usr/local/fingerbank/db/fingerbank_*.db && \
apt-get -qq --no-install-recommends install -y freeradius-common
apt-get -qq --no-install-recommends install -y freeradius-common && \
apt-get -qq --no-install-recommends -y install localepurge && \
printf '#USE_DPKG\nMANDELETE\nDONTBOTHERNEWLOCALE\n#SHOWFREEDSPACE\n#QUICKNDIRTYCALC\n#VERBOSE\nen' > /etc/locale.nopurge && \
/usr/sbin/localepurge

# Clean
RUN apt-get -qq remove --purge -y locales-all && \
RUN apt-get -qq remove --purge -y locales-all localepurge && \
apt-get clean && \
rm -rf /etc/locale.nopurge && \
find /usr/share/doc -depth -type f ! -name copyright -exec rm {} \; && \
find /usr/share/doc -type d -empty -delete && \
rm -rf /usr/share/groff/* /usr/share/info/* && \
Expand Down

0 comments on commit aea2aa1

Please sign in to comment.