Fixed line endings for Docker - WSL2
This commit is contained in:
parent
5eb23ec2d5
commit
500523efd6
@ -10,7 +10,7 @@ RUN mkdir -p /home/$USER_NAME/.composer && \
|
|||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get upgrade -y \
|
&& apt-get upgrade -y \
|
||||||
&& apt-get install git zip unzip -y
|
&& apt-get install git zip unzip dos2unix -y
|
||||||
RUN curl -sS https://getcomposer.org/installer \
|
RUN curl -sS https://getcomposer.org/installer \
|
||||||
| php -- --version=2.3.5 --install-dir=/usr/local/bin --filename=composer
|
| php -- --version=2.3.5 --install-dir=/usr/local/bin --filename=composer
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
|
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
|
||||||
@ -19,6 +19,8 @@ RUN set -eux \
|
|||||||
RUN npm install --global npm@latest
|
RUN npm install --global npm@latest
|
||||||
|
|
||||||
COPY ./install.sh /usr/local/bin/install
|
COPY ./install.sh /usr/local/bin/install
|
||||||
|
RUN dos2unix /usr/local/bin/install \
|
||||||
|
&& chmod +x /usr/local/bin/install
|
||||||
|
|
||||||
USER $USER_UID
|
USER $USER_UID
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user