Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Don't do an apt update

Roland Geidere845b3172e28
diff --git a/extras/docker/demo/Dockerfile b/extras/docker/demo/Dockerfile
index 9d864b1da..265eb1e6b 100644
--- a/extras/docker/demo/Dockerfile
+++ b/extras/docker/demo/Dockerfile
@@ -51,14 +51,12 @@ EXPOSE 80
# Install dependencies
-RUN apt-get update \
- && apt-get install --no-install-recommends -y \
+RUN apt-get install --no-install-recommends -y \
apache2 \
cron \
python3-venv \
libapache2-mod-wsgi-py3 \
- python3-wheel \
- && rm -rf /var/lib/apt/lists/*
+ python3-wheel
# Configure apache
COPY ${DOCKER_DIR}/wger.conf /etc/apache2/sites-available/
diff --git a/extras/docker/development/Dockerfile b/extras/docker/development/Dockerfile
index 5c567cdc4..99e52e0f7 100644
--- a/extras/docker/development/Dockerfile
+++ b/extras/docker/development/Dockerfile
@@ -15,8 +15,7 @@
FROM wger/base:latest as builder
ARG DEBIAN_FRONTEND=noninteractive
-RUN apt-get update \
- && apt-get install --no-install-recommends -y \
+RUN apt-get install --no-install-recommends -y \
build-essential \
python3-dev \
python3-wheel \