Skip to content

Commit

Permalink
sorted package names and clean up apt caches better
Browse files Browse the repository at this point in the history
  • Loading branch information
Julius committed Dec 25, 2019
1 parent 19740e3 commit 6567623
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,26 @@ COPY 000-jobe.conf /
RUN ln -snf /usr/share/zoneinfo/"$TZ" /etc/localtime && \
echo "$TZ" > /etc/timezone && \
apt-get update && \
apt-get --no-install-recommends install -yq tzdata \
apt-get --no-install-recommends install -yq acl \
apache2 \
php \
build-essential \
fp-compiler \
git \
libapache2-mod-php \
nodejs \
octave \
openjdk-11-jdk \
php \
php-cli \
php-cli \
php-mbstring \
octave \
nodejs \
build-essential \
pylint3 \
python3 \
php-cli \
fp-compiler \
openjdk-11-jdk \
python3-pip \
pylint3 \
sqlite3 \
git \
acl \
unzip \
sudo && \
sudo \
tzdata \
unzip && \
pylint3 --reports=no --score=n --generate-rcfile > /etc/pylintrc && \
ln -sf /proc/self/fd/1 /var/log/apache2/access.log && \
ln -sf /proc/self/fd/1 /var/log/apache2/error.log && \
Expand All @@ -66,9 +66,9 @@ RUN ln -snf /usr/share/zoneinfo/"$TZ" /etc/localtime && \
apache2ctl start && \
cd /var/www/html/jobe && ./install && \
chown -R www-data:www-data /var/www/html && \
apt-get -y autoremove && \
apt-get -y autoclean && \
apt-get -y clean
apt-get -y autoremove --purge && \
apt-get -y clean && \
rm -rf /var/lib/apt/lists/*

# Expose apache
EXPOSE 80
Expand Down

0 comments on commit 6567623

Please sign in to comment.