From a6673db84344ad8460134c01894dd643a902faf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sat, 16 Sep 2023 23:35:59 +0200 Subject: [PATCH] delete deprecated Dockerfiles --- docker/Dockerfile-app | 30 ------------------------------ docker/Dockerfile-multi | 16 ---------------- docker/Dockerfile-test | 6 ------ 3 files changed, 52 deletions(-) delete mode 100644 docker/Dockerfile-app delete mode 100644 docker/Dockerfile-multi delete mode 100644 docker/Dockerfile-test diff --git a/docker/Dockerfile-app b/docker/Dockerfile-app deleted file mode 100644 index 5ffde9e..0000000 --- a/docker/Dockerfile-app +++ /dev/null @@ -1,30 +0,0 @@ -FROM ubuntu:focal - -ENV DEBIAN_FRONTEND noninteractive - -# Install Nginx, PHP and further necessary packages -RUN apt update --fix-missing -RUN apt install -y curl git unzip mariadb-client nginx \ - php-apcu php-xdebug php7.4-cli php7.4-curl php7.4-fpm php7.4-mbstring php7.4-mysql php7.4-zip php7.4-xml - -# Configure Nginx with PHP -RUN mkdir -p /run/php -COPY configs/nginx.conf /etc/nginx/sites-available/default -RUN echo "xdebug.remote_enable = 1" >> /etc/php/7.4/mods-available/xdebug.ini -RUN echo "xdebug.remote_autostart = 1" >> /etc/php/7.4/mods-available/xdebug.ini -RUN echo "xdebug.remote_connect_back = 1" >> /etc/php/7.4/mods-available/xdebug.ini - -# Install Composer -COPY scripts/install-composer.sh install-composer.sh -RUN ./install-composer.sh - -# Install Node.js and required packages -RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - -RUN apt install -y nodejs -RUN npm install -g uglify-js clean-css-cli svgo yarn - -EXPOSE 80 -VOLUME /var/www/mapguesser -WORKDIR /var/www/mapguesser - -ENTRYPOINT /usr/sbin/php-fpm7.4 -F & /usr/sbin/nginx -g 'daemon off;' diff --git a/docker/Dockerfile-multi b/docker/Dockerfile-multi deleted file mode 100644 index 5092616..0000000 --- a/docker/Dockerfile-multi +++ /dev/null @@ -1,16 +0,0 @@ -FROM ubuntu:focal - -ENV DEBIAN_FRONTEND noninteractive - -# Install necessary packages -RUN apt update --fix-missing -RUN apt install -y curl build-essential - -# Install Node.js and required packages -RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - -RUN apt install -y nodejs - -VOLUME /var/www/mapguesser -WORKDIR /var/www/mapguesser - -ENTRYPOINT /usr/bin/node --inspect=0.0.0.0:9229 multi diff --git a/docker/Dockerfile-test b/docker/Dockerfile-test deleted file mode 100644 index 915d332..0000000 --- a/docker/Dockerfile-test +++ /dev/null @@ -1,6 +0,0 @@ -FROM ubuntu:focal - -ENV DEBIAN_FRONTEND noninteractive - -RUN apt update && apt install -y curl git unzip php7.4-cli php7.4-mbstring php7.4-xml -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer