From 43158ef6fdf446ac3303a8d0a6b438e086c670c0 Mon Sep 17 00:00:00 2001 From: Last2014 Date: Fri, 31 Oct 2025 19:15:26 +0900 Subject: [PATCH] Fix: Automatically change line break --- php/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/php/Dockerfile b/php/Dockerfile index a5ef4a1..f7406a9 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -6,6 +6,7 @@ WORKDIR /var/www/html # Install packages(apt) RUN apt-get update +RUN apt-get install -y dos2unix RUN apt-get install -y libpng-dev RUN apt-get install -y libjpeg62-turbo-dev RUN apt-get install -y libfreetype6-dev @@ -20,6 +21,7 @@ RUN rm -rf /var/lib/apt/lists/* # Copy uwuzu COPY src /usr/src/app +RUN find /usr/src/app/ -type f -exec dos2unix {} \; # Install packages(php) RUN docker-php-ext-configure gd --with-freetype --with-jpeg @@ -55,4 +57,3 @@ USER www-data # Exec entrypoint ENTRYPOINT ["/usr/src/entrypoint.sh"] -