workspace Dockerfile remove duplicate command in User Aliases section.
This commit is contained in:
parent
188a7d7624
commit
40796651f6
|
@ -159,17 +159,10 @@ RUN echo "" >> ~/.bashrc && \
|
||||||
sed -i 's/\r//' /home/laradock/aliases.sh && \
|
sed -i 's/\r//' /home/laradock/aliases.sh && \
|
||||||
sed -i 's/^#! \/bin\/sh/#! \/bin\/bash/' /home/laradock/aliases.sh
|
sed -i 's/^#! \/bin\/sh/#! \/bin\/bash/' /home/laradock/aliases.sh
|
||||||
|
|
||||||
USER root
|
|
||||||
RUN echo "" >> ~/.bashrc && \
|
|
||||||
echo "# Load Custom Aliases" >> ~/.bashrc && \
|
|
||||||
echo "source /home/laradock/aliases.sh" >> ~/.bashrc && \
|
|
||||||
echo "" >> ~/.bashrc && \
|
|
||||||
sed -i 's/\r//' /home/laradock/aliases.sh && \
|
|
||||||
sed -i 's/^#! \/bin\/sh/#! \/bin\/bash/' /home/laradock/aliases.sh
|
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# xDebug:
|
# xDebug:
|
||||||
#####################################
|
#####################################
|
||||||
|
USER root
|
||||||
|
|
||||||
ARG INSTALL_XDEBUG=false
|
ARG INSTALL_XDEBUG=false
|
||||||
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
||||||
|
|
|
@ -156,17 +156,10 @@ RUN echo "" >> ~/.bashrc && \
|
||||||
sed -i 's/\r//' /home/laradock/aliases.sh && \
|
sed -i 's/\r//' /home/laradock/aliases.sh && \
|
||||||
sed -i 's/^#! \/bin\/sh/#! \/bin\/bash/' /home/laradock/aliases.sh
|
sed -i 's/^#! \/bin\/sh/#! \/bin\/bash/' /home/laradock/aliases.sh
|
||||||
|
|
||||||
USER root
|
|
||||||
RUN echo "" >> ~/.bashrc && \
|
|
||||||
echo "# Load Custom Aliases" >> ~/.bashrc && \
|
|
||||||
echo "source /home/laradock/aliases.sh" >> ~/.bashrc && \
|
|
||||||
echo "" >> ~/.bashrc && \
|
|
||||||
sed -i 's/\r//' /home/laradock/aliases.sh && \
|
|
||||||
sed -i 's/^#! \/bin\/sh/#! \/bin\/bash/' /home/laradock/aliases.sh
|
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# xDebug:
|
# xDebug:
|
||||||
#####################################
|
#####################################
|
||||||
|
USER root
|
||||||
|
|
||||||
ARG INSTALL_XDEBUG=false
|
ARG INSTALL_XDEBUG=false
|
||||||
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
||||||
|
|
|
@ -151,17 +151,10 @@ RUN echo "" >> ~/.bashrc && \
|
||||||
sed -i 's/\r//' /home/laradock/aliases.sh && \
|
sed -i 's/\r//' /home/laradock/aliases.sh && \
|
||||||
sed -i 's/^#! \/bin\/sh/#! \/bin\/bash/' /home/laradock/aliases.sh
|
sed -i 's/^#! \/bin\/sh/#! \/bin\/bash/' /home/laradock/aliases.sh
|
||||||
|
|
||||||
USER root
|
|
||||||
RUN echo "" >> ~/.bashrc && \
|
|
||||||
echo "# Load Custom Aliases" >> ~/.bashrc && \
|
|
||||||
echo "source /home/laradock/aliases.sh" >> ~/.bashrc && \
|
|
||||||
echo "" >> ~/.bashrc && \
|
|
||||||
sed -i 's/\r//' /home/laradock/aliases.sh && \
|
|
||||||
sed -i 's/^#! \/bin\/sh/#! \/bin\/bash/' /home/laradock/aliases.sh
|
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# xDebug:
|
# xDebug:
|
||||||
#####################################
|
#####################################
|
||||||
|
USER root
|
||||||
|
|
||||||
ARG INSTALL_XDEBUG=false
|
ARG INSTALL_XDEBUG=false
|
||||||
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
||||||
|
|
|
@ -151,17 +151,10 @@ RUN echo "" >> ~/.bashrc && \
|
||||||
sed -i 's/\r//' /home/laradock/aliases.sh && \
|
sed -i 's/\r//' /home/laradock/aliases.sh && \
|
||||||
sed -i 's/^#! \/bin\/sh/#! \/bin\/bash/' /home/laradock/aliases.sh
|
sed -i 's/^#! \/bin\/sh/#! \/bin\/bash/' /home/laradock/aliases.sh
|
||||||
|
|
||||||
USER root
|
|
||||||
RUN echo "" >> ~/.bashrc && \
|
|
||||||
echo "# Load Custom Aliases" >> ~/.bashrc && \
|
|
||||||
echo "source /home/laradock/aliases.sh" >> ~/.bashrc && \
|
|
||||||
echo "" >> ~/.bashrc && \
|
|
||||||
sed -i 's/\r//' /home/laradock/aliases.sh && \
|
|
||||||
sed -i 's/^#! \/bin\/sh/#! \/bin\/bash/' /home/laradock/aliases.sh
|
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# xDebug:
|
# xDebug:
|
||||||
#####################################
|
#####################################
|
||||||
|
USER root
|
||||||
|
|
||||||
ARG INSTALL_XDEBUG=false
|
ARG INSTALL_XDEBUG=false
|
||||||
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
||||||
|
|
Loading…
Reference in New Issue