Browse Source

changed php ct prompt

Bachir Soussi Chiadmi 5 years ago
parent
commit
6692f12208
4 changed files with 6 additions and 7 deletions
  1. 0 1
      .env
  2. 1 1
      Docker/php-legacy/bashrc
  3. 4 4
      Docker/php/Dockerfile
  4. 1 1
      Docker/php/bashrc

+ 0 - 1
.env

@@ -1,7 +1,6 @@
 COMPOSE_PROJECT_NAME=materiod8
 
 PROJECT_ROOT=./public_html
-/* LEGACY_ROOT=../d7.materio.com/public_html */
 LEGACY_ROOT=./public_html_legacy
 LOG_ROOT=./log
 

+ 1 - 1
Docker/php-legacy/bashrc

@@ -1,4 +1,4 @@
 
-PS1='\e[36m\e[1mPHP\e[0m:\e[90m\w\e[0m\n$ '
+PS1='\e[36m\e[1mPHP-5.6\e[0m:\e[90m\w\e[0m\n$ '
 bind '"\e[A": history-search-backward'
 bind '"\e[B": history-search-forward'

+ 4 - 4
Docker/php/Dockerfile

@@ -1,4 +1,4 @@
-FROM php:7.1-fpm
+FROM php:7.0-fpm-stretch
 
 RUN apt-get update && apt-get install -y \
 		libfreetype6-dev \
@@ -32,12 +32,12 @@ RUN export COMPOSER_HOME=/usr/local/composer && \
 
 COPY ./php-custom.ini /usr/local/etc/php/conf.d/php-custom.ini
 
-COPY ./bashrc /root/.bashrc
-COPY ./inputrc /root/.inputrc
-
 RUN apt-get install -y curl && \
 		curl -sL https://deb.nodesource.com/setup_11.x | bash - && \
 		curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
 		echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
     apt-get update && \
 		apt-get install -y nodejs yarn
+		
+COPY ./bashrc /root/.bashrc
+COPY ./inputrc /root/.inputrc

+ 1 - 1
Docker/php/bashrc

@@ -1,4 +1,4 @@
 
-PS1='\e[36m\e[1mPHP\e[0m:\e[90m\w\e[0m\n$ '
+PS1='\e[36m\e[1mPHP-7.0\e[0m:\e[90m\w\e[0m\n$ '
 bind '"\e[A": history-search-backward'
 bind '"\e[B": history-search-forward'