Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Clean apt cache after install

Scott Peshak7154b9c8dfd1
diff --git a/extras/docker/apache/Dockerfile b/extras/docker/apache/Dockerfile
index cd4aae05a..4a467e8bb 100644
--- a/extras/docker/apache/Dockerfile
+++ b/extras/docker/apache/Dockerfile
@@ -22,7 +22,11 @@ ENV LC_ALL en_US.UTF-8
# Install dependencies
RUN apt-get update \
- && apt-get install -y apache2 libapache2-mod-wsgi-py3 libpq-dev
+ && apt-get install --no-install-recommends -y \
+ apache2 \
+ libapache2-mod-wsgi-py3 \
+ libpq-dev \
+ && rm -rf /var/lib/apt/lists/*
# Configure apache
ADD wger.conf /etc/apache2/sites-available/
diff --git a/extras/docker/base/Dockerfile b/extras/docker/base/Dockerfile
index 59ef38bd1..b1a5b82db 100644
--- a/extras/docker/base/Dockerfile
+++ b/extras/docker/base/Dockerfile
@@ -15,19 +15,15 @@ LABEL maintainer="Roland Geider <[email protected]>"
# Install dependencies
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
- build-essential \
git \
libjpeg8-dev \
- libpq-dev \
libwebp-dev \
- locales \
nodejs \
+ nodejs-legacy \
npm \
python-virtualenv \
python3-dev \
- python3-venv \
sudo \
- virtualenv \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*