Skip to content

Commit

Permalink
Fix issues?
Browse files Browse the repository at this point in the history
  • Loading branch information
Reza Esmaili committed Mar 26, 2024
1 parent edda5d0 commit 58a4df0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ RUN apt-get update && apt-get install -y \
libwebp-dev \
webp

# Clear cache
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
# Get chromium and chromium driver
RUN apt install -y chromium chromium-driver

# Install PHP extensions
RUN docker-php-ext-configure gd --enable-gd --with-freetype --with-jpeg --with-webp && docker-php-ext-install pdo_mysql mysqli mbstring exif pcntl bcmath gd zip soap intl
Expand All @@ -43,9 +43,6 @@ RUN pecl install redis && docker-php-ext-enable redis
# Install imagick extension for php
RUN pecl install imagick && docker-php-ext-enable imagick

# Get chromium and chromium driver
RUN apt install -y chromium chromium-driver

# Clean installation
RUN apt-get clean && rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit 58a4df0

Please sign in to comment.