Skip to content

Commit

Permalink
Merge pull request #1075 from luismgsantos/fix/docker-build-image
Browse files Browse the repository at this point in the history
fix: build failing to run
  • Loading branch information
nunomaduro authored Jan 25, 2024
2 parents a5bf6a3 + 317ea03 commit 62d8459
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ ARG PHP=8.1
FROM php:${PHP}-cli-alpine

RUN apk update && apk add \
zip libzip-dev icu-dev git \
zip libzip-dev icu-dev git

RUN docker-php-ext-configure zip intl
RUN docker-php-ext-install zip intl
RUN docker-php-ext-enable zip intl

RUN apk add --no-cache linux-headers
RUN apk add --no-cache linux-headers autoconf build-base
RUN pecl install xdebug
RUN docker-php-ext-enable xdebug
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
Expand Down

0 comments on commit 62d8459

Please sign in to comment.