Skip to content

Commit

Permalink
clearup dev image
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Wojczal committed Oct 2, 2024
1 parent b7578a8 commit 3b5c668
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
# test
# docker image build -t abc . && docker run -it abc bash
FROM devilbox/php-fpm:8.2-work

RUN apt-get update && apt-get install libonig-dev postgresql ffmpeg unzip gnupg2 gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libayatana-appindicator1 libnss3 lsb-release xdg-utils wget libgbm-dev libxshmfence-dev -y --no-install-recommends

# composer
RUN curl --silent --show-error https://getcomposer.org/composer.phar > composer.phar \
&& mv composer.phar /usr/bin/composer
RUN chmod +x /usr/bin/composer

# phpunit
RUN composer global require "phpunit/phpunit"
ENV PATH /root/.composer/vendor/bin:$PATH
RUN ln -s /root/.composer/vendor/bin/phpunit /usr/bin/phpunit

# node & pupperteer
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt-get update -qq && apt-get install -y --no-install-recommends build-essential nodejs

# image optimizers
RUN apt-get install jpegoptim optipng pngquant gifsicle webp -y

Expand Down

0 comments on commit 3b5c668

Please sign in to comment.