File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,8 +5,9 @@ ARG PHP_VERSION=7.4
55ARG XDEBUG_VERSION=3.1.6
66
77ENV DEBIAN_FRONTEND=noninteractive \
8- TZ=UTC \
9- LANG="C.UTF-8"
8+ TZ="Europe/Berlin" \
9+ LANG="C.UTF-8" \
10+ TERM=xterm-256color
1011
1112ENV PHP_VERSION=${PHP_VERSION} \
1213 PHP_MEMORY_LIMIT=128m \
@@ -115,7 +116,8 @@ COPY config/fpm/pool.d /etc/php/${PHP_VERSION}/fpm/pool.d/
115116COPY config/fpm-${PHP_VERSION}/pool.d /etc/php/${PHP_VERSION}/fpm/pool.d/
116117
117118# Config files
118- COPY dev/bash /root/
119+ COPY config/bash /root/
120+ COPY config/bash/.bashrc /etc/bash.bashrc
119121
120122# Test php-fpm config and php info
121123RUN php-fpm -tt
@@ -172,7 +174,6 @@ ENV PHP_ASSERT=1 \
172174 COMPOSER_CACHE_DIR=/.cache/composer/ \
173175 YARN_CACHE_FOLDER=/.cache/yarn/ \
174176 npm_config_cache=/.cache/npm/ \
175- TERM=xterm-256color \
176177 TIDEWAYS_DAEMON=""
177178
178179# enable debugging with PhpStorm
Original file line number Diff line number Diff line change @@ -6,8 +6,9 @@ ARG PHP_VERSION=8.4
66ARG XDEBUG_VERSION=3.4.1
77
88ENV DEBIAN_FRONTEND=noninteractive \
9- TZ=UTC \
10- LANG="C.UTF-8"
9+ TZ="Europe/Berlin" \
10+ LANG="C.UTF-8" \
11+ TERM=xterm-256color
1112
1213ENV PHP_VERSION=${PHP_VERSION} \
1314 PHP_MEMORY_LIMIT=128m \
@@ -124,7 +125,8 @@ COPY config/fpm/pool.d /etc/php/${PHP_VERSION}/fpm/pool.d/
124125COPY config/fpm-${PHP_VERSION}/pool.d /etc/php/${PHP_VERSION}/fpm/pool.d/
125126
126127# Config files
127- COPY dev/bash /root/
128+ COPY config/bash /root/
129+ COPY config/bash/.bashrc /etc/bash.bashrc
128130
129131# Test php-fpm config and php info
130132RUN php-fpm -tt
@@ -181,7 +183,6 @@ ENV PHP_ASSERT=1 \
181183 COMPOSER_CACHE_DIR=/.cache/composer/ \
182184 YARN_CACHE_FOLDER=/.cache/yarn/ \
183185 npm_config_cache=/.cache/npm/ \
184- TERM=xterm-256color \
185186 TIDEWAYS_DAEMON=""
186187
187188# enable debugging with PhpStorm
Original file line number Diff line number Diff line change @@ -6,8 +6,9 @@ ARG PHP_VERSION=8.3
66ARG XDEBUG_VERSION=3.4.1
77
88ENV DEBIAN_FRONTEND=noninteractive \
9- TZ=UTC \
10- LANG="C.UTF-8"
9+ TZ="Europe/Berlin" \
10+ LANG="C.UTF-8" \
11+ TERM=xterm-256color
1112
1213ENV PHP_VERSION=${PHP_VERSION} \
1314 PHP_MEMORY_LIMIT=128m \
@@ -120,7 +121,8 @@ COPY config/fpm/pool.d /etc/php/${PHP_VERSION}/fpm/pool.d/
120121COPY config/fpm-${PHP_VERSION}/pool.d /etc/php/${PHP_VERSION}/fpm/pool.d/
121122
122123# Config files
123- COPY dev/bash /root/
124+ COPY config/bash /root/
125+ COPY config/bash/.bashrc /etc/bash.bashrc
124126
125127# Test php-fpm config and php info
126128RUN php-fpm -tt
@@ -177,7 +179,6 @@ ENV PHP_ASSERT=1 \
177179 COMPOSER_CACHE_DIR=/.cache/composer/ \
178180 YARN_CACHE_FOLDER=/.cache/yarn/ \
179181 npm_config_cache=/.cache/npm/ \
180- TERM=xterm-256color \
181182 TIDEWAYS_DAEMON=""
182183
183184# enable debugging with PhpStorm
Original file line number Diff line number Diff line change 33# for examples
44
55# If not running interactively, don't do anything
6- [ -z " $PS1 " ] && return
6+ case $- in
7+ * i* ) ;;
8+ * ) return ;;
9+ esac
710
811# don't put duplicate lines or lines starting with space in the history.
912# See bash(1) for more options
You can’t perform that action at this time.
0 commit comments