File tree Expand file tree Collapse file tree 3 files changed +90
-0
lines changed Expand file tree Collapse file tree 3 files changed +90
-0
lines changed Original file line number Diff line number Diff line change
1
+ # ## JetBrains
2
+ .idea
Original file line number Diff line number Diff line change
1
+ FROM php:8.0
2
+
3
+ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
4
+
5
+ # Install dependencies
6
+ RUN apt update -yqq \
7
+ && apt install \
8
+ bash \
9
+ curl \
10
+ g++ \
11
+ gcc \
12
+ git \
13
+ libc-dev \
14
+ libzip-dev \
15
+ make \
16
+ openssh-client \
17
+ rsync \
18
+ -yqq
19
+
20
+ # Install php extensions
21
+ RUN chmod +x /usr/local/bin/install-php-extensions && \
22
+ install-php-extensions \
23
+ @composer \
24
+ redis-stable \
25
+ imagick-stable \
26
+ xdebug-stable \
27
+ bcmath \
28
+ calendar \
29
+ exif \
30
+ gd \
31
+ intl \
32
+ pdo_mysql \
33
+ pdo_pgsql \
34
+ pcntl \
35
+ soap \
36
+ zip
37
+
38
+ # Add local and global vendor bin to PATH.
39
+ ENV PATH ./vendor/bin:/composer/vendor/bin:/root/.composer/vendor/bin:/usr/local/bin:$PATH
40
+
41
+ # Install NVM
42
+ RUN touch ~/.bashrc
43
+ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash
44
+ RUN export NVM_DIR="$([ -z " ${XDG_CONFIG_HOME-}" ] && printf %s " ${HOME}/.nvm" || printf %s " ${XDG_CONFIG_HOME}/nvm")" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
Original file line number Diff line number Diff line change
1
+ FROM php:8.1
2
+
3
+ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
4
+
5
+ # Install dependencies
6
+ RUN apt update -yqq \
7
+ && apt install \
8
+ bash \
9
+ curl \
10
+ g++ \
11
+ gcc \
12
+ git \
13
+ libc-dev \
14
+ libzip-dev \
15
+ make \
16
+ openssh-client \
17
+ rsync \
18
+ -yqq
19
+
20
+ # Install php extensions
21
+ RUN chmod +x /usr/local/bin/install-php-extensions && \
22
+ install-php-extensions \
23
+ @composer \
24
+ redis-stable \
25
+ imagick-stable \
26
+ xdebug-stable \
27
+ bcmath \
28
+ calendar \
29
+ exif \
30
+ gd \
31
+ intl \
32
+ pdo_mysql \
33
+ pdo_pgsql \
34
+ pcntl \
35
+ soap \
36
+ zip
37
+
38
+ # Add local and global vendor bin to PATH.
39
+ ENV PATH ./vendor/bin:/composer/vendor/bin:/root/.composer/vendor/bin:/usr/local/bin:$PATH
40
+
41
+ # Install NVM
42
+ RUN touch ~/.bashrc
43
+ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash
44
+ RUN export NVM_DIR="$([ -z " ${XDG_CONFIG_HOME-}" ] && printf %s " ${HOME}/.nvm" || printf %s " ${XDG_CONFIG_HOME}/nvm")" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
You can’t perform that action at this time.
0 commit comments