Fix minor issue
This commit is contained in:
@@ -16,8 +16,8 @@ RUN apt-get install -y git procps
|
|||||||
# Remove outdated yarn from /opt and install via package
|
# Remove outdated yarn from /opt and install via package
|
||||||
# so it can be easily updated via apt-get upgrade yarn
|
# so it can be easily updated via apt-get upgrade yarn
|
||||||
RUN rm -rf /opt/yarn-* \
|
RUN rm -rf /opt/yarn-* \
|
||||||
rm -f /usr/local/bin/yarn \
|
&& rm -f /usr/local/bin/yarn \
|
||||||
rm -f /usr/local/bin/yarnpkg \
|
&& rm -f /usr/local/bin/yarnpkg \
|
||||||
&& apt-get install -y curl apt-transport-https lsb-release \
|
&& apt-get install -y curl apt-transport-https lsb-release \
|
||||||
&& curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - 2>/dev/null \
|
&& curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - 2>/dev/null \
|
||||||
&& echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
&& echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
||||||
|
|||||||
Reference in New Issue
Block a user