-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
25 lines (17 loc) · 1004 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM php:8.0.5
RUN apt-get update -y && apt-get install -y openssl zip unzip git curl libonig-dev libfreetype6-dev libjpeg-dev libcurl4-openssl-dev libpng-dev libmcrypt-dev libpng-dev libwebp-dev libxml2-dev libmagickwand-dev libkrb5-dev libbz2-dev libzip-dev libtidy-dev libc-client-dev
RUN apt-get install -y libc-client-dev
RUN apt-get install -y htop
RUN apt-get install -y wget
RUN apt-get install -y jq libjq1
RUN apt-get install -y ftp-upload
RUN apt-get install -y lftp
RUN apt-get install -y ncftp
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN docker-php-ext-configure gd --with-freetype --with-webp --with-jpeg && \
docker-php-ext-install gd
RUN docker-php-ext-install pdo_mysql zip dom curl mbstring intl pcntl
WORKDIR /app
COPY . /app
RUN cd /app/satis-builder && composer install --no-interaction --no-dev --prefer-dist --ignore-platform-reqs
RUN cd /app/ && composer install --no-interaction --no-dev --prefer-dist