Closed madhavanpallan closed 4 years ago
@madhavanpallan this PR should be directed to master
not iss9
on the main repo.
@TathagataChakraborti: Sure, Now the PR has been directed to the main repo.
Doesn't seem to work on my Mac?
I think that fix only works for sh and not for Bash (which is what gets invoked when you run ./RunDockerImage.sh)
vs
Also if you are going down this route, you might want to disable to color at the end of the echo.
:pushpin: References
:tophat: What is the goal?
a) The goal here is better visibility of username and password of the server deployed using docker. b) Documentation of control flags for build docker image in different versions of Ubuntu.
:memo: How is it being implemented?
a) -e option of echo enables the parsing of the escape sequence. Here “\e[32m” sequence changes the colour of text to green while the “\e[0m” sequence removes all the colour and formatting at the end(Updated) b) keeping the value of flags empty in docker build script completes the process without error for default docker build in kernel version 4.4.0-75-generic (Trusty Tahr/ Ubuntu 14.04 LTS). While the rest remains the usual for ubuntu 16.04 and above. We have added descriptive explanations as control flags in Readme under the container build section.
:tv: Screenshot or gif showing the result.
Introduce here a gif or picture about the work
:boom: How can it be tested?
It can be tested by running the command sudo ./RunDockerImage.sh for the same.