Skip to content

Commit

Permalink
Updating Ubuntu version so that we can use a newer version of nginx t…
Browse files Browse the repository at this point in the history
…hat has the new min_free option. Adding --no-install-recommends drops container size by about 400 megabytes
  • Loading branch information
tpill90 committed May 6, 2024
1 parent 66b96f4 commit 91a69cc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
FROM ubuntu:bionic
FROM ubuntu:24.04
MAINTAINER LanCache.Net Team <[email protected]>
ARG DEBIAN_FRONTEND=noninteractive
RUN \
apt-get -y update && apt-get -y upgrade && \
apt-get -y install python3-pip curl wget bzip2 locales tzdata && \
apt-get -y install python3-pip curl wget bzip2 locales tzdata --no-install-recommends && \
locale-gen en_GB.utf8 && \
update-locale LANG=en_GB.utf8
update-locale LANG=en_GB.utf8 && \
apt-get -y clean && \
rm -rf /var/lib/apt/lists/*
RUN \
pip3 install supervisor && \
pip3 install supervisor --break-system-packages && \
mkdir --mode 777 -p /var/log/supervisor
RUN \
apt-get -y clean && \
Expand Down

0 comments on commit 91a69cc

Please sign in to comment.