Bash update

This commit is contained in:
Andrei Condurachi 2020-11-27 01:33:19 +02:00
parent 4d40ead378
commit bf2b0f3597
1 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ RUN apk add --no-cache \
shadow shadow
# Change shell to bash # Change shell to bash
RUN usermod -s /bin/bash root RUN usermod -s /bin/bash root && /bin/bash
# Bash config updates for root user # Bash config updates for root user
RUN cd && bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" RUN cd && bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)"
# Initialize bash updates # Initialize bash updates
@ -104,7 +104,7 @@ RUN chown -R apache:apache /var/log/apache2
RUN chown -R apache:apache /run/apache2 RUN chown -R apache:apache /run/apache2
# Change shell for apache user so that it can login # Change shell for apache user so that it can login
RUN usermod -s /bin/bash apache RUN usermod -s /bin/bash apache && /bin/bash
# Some shell aliases # Some shell aliases
RUN echo "alias l='ls -la' \ RUN echo "alias l='ls -la' \