From 6692f12208ddc6d94e732181073800cd7feb16c6 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Mon, 13 May 2019 12:32:04 +0200 Subject: [PATCH] changed php ct prompt --- .env | 1 - Docker/php-legacy/bashrc | 2 +- Docker/php/Dockerfile | 8 ++++---- Docker/php/bashrc | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.env b/.env index 451b262..0257ded 100644 --- a/.env +++ b/.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 diff --git a/Docker/php-legacy/bashrc b/Docker/php-legacy/bashrc index 468610f..b2998d2 100644 --- a/Docker/php-legacy/bashrc +++ b/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' diff --git a/Docker/php/Dockerfile b/Docker/php/Dockerfile index bfef0e2..d674b7a 100644 --- a/Docker/php/Dockerfile +++ b/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 diff --git a/Docker/php/bashrc b/Docker/php/bashrc index 468610f..5a3eb24 100644 --- a/Docker/php/bashrc +++ b/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'