Skip to content

Commit

Permalink
#12 Cleanup and reduce Image size
Browse files Browse the repository at this point in the history
  • Loading branch information
kimdre committed Jun 10, 2024
1 parent 36e5311 commit afdd3a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ RUN apt-get update && \
# Configure Apache as needed
a2enmod rewrite && \
apt-get clean && \
apt-get -y purge \
apt-get -y purge --auto-remove \
libxml2-dev libfreetype6-dev \
libjpeg62-turbo-dev \
libmcrypt-dev \
libpng-dev \
libzip-dev \
zlib1g-dev && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/* /usr/src/php.tar.xz*

ADD https://get.typo3.org/${TYPO3_VERSION}/tar.gz typo3_src-${TYPO3_VERSION}

Expand Down Expand Up @@ -112,4 +112,4 @@ EXPOSE 80
STOPSIGNAL SIGWINCH

ENTRYPOINT ["bash", "/docker-entrypoint.sh"]
CMD ["apache2-foreground"]
CMD ["apache2-foreground"]

0 comments on commit afdd3a1

Please sign in to comment.