mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-25 14:15:38 +03:00
TC Agent Node update
This commit is contained in:
parent
435e50ff6b
commit
bea9ce4c4a
@ -48,11 +48,16 @@ RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
|
|||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y nodejs yarn && \
|
apt-get install -y nodejs yarn
|
||||||
npm install -g npm
|
|
||||||
|
|
||||||
RUN node -v && \
|
# curl -L https://www.npmjs.com/install.sh | sh
|
||||||
npm -v
|
# npm install -g npm
|
||||||
|
|
||||||
|
RUN echo "=============================================" && \
|
||||||
|
echo node $(node --version) && \
|
||||||
|
echo npm $(npm --version) && \
|
||||||
|
echo yarn $(yarn --version) && \
|
||||||
|
echo "============================================="
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# cleaninig up
|
# cleaninig up
|
||||||
|
@ -48,11 +48,16 @@ RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
|
|||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y nodejs yarn && \
|
apt-get install -y nodejs yarn
|
||||||
npm install -g npm
|
|
||||||
|
|
||||||
RUN node -v && \
|
# curl -L https://www.npmjs.com/install.sh | sh
|
||||||
npm -v
|
# npm install -g npm
|
||||||
|
|
||||||
|
RUN echo "=============================================" && \
|
||||||
|
echo node $(node --version) && \
|
||||||
|
echo npm $(npm --version) && \
|
||||||
|
echo yarn $(yarn --version) && \
|
||||||
|
echo "============================================="
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# cleaninig up
|
# cleaninig up
|
||||||
|
@ -48,11 +48,16 @@ RUN curl -sL https://deb.nodesource.com/setup_15.x | bash - && \
|
|||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y nodejs yarn && \
|
apt-get install -y nodejs yarn
|
||||||
npm install -g npm
|
|
||||||
|
|
||||||
RUN node -v && \
|
# curl -L https://www.npmjs.com/install.sh | sh
|
||||||
npm -v
|
# npm install -g npm
|
||||||
|
|
||||||
|
RUN echo "=============================================" && \
|
||||||
|
echo node $(node --version) && \
|
||||||
|
echo npm $(npm --version) && \
|
||||||
|
echo yarn $(yarn --version) && \
|
||||||
|
echo "============================================="
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# cleaninig up
|
# cleaninig up
|
||||||
|
@ -48,11 +48,16 @@ RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
|
|||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y nodejs yarn && \
|
apt-get install -y nodejs yarn
|
||||||
npm install -g npm
|
|
||||||
|
|
||||||
RUN node -v && \
|
# curl -L https://www.npmjs.com/install.sh | sh
|
||||||
npm -v
|
# npm install -g npm
|
||||||
|
|
||||||
|
RUN echo "=============================================" && \
|
||||||
|
echo node $(node --version) && \
|
||||||
|
echo npm $(npm --version) && \
|
||||||
|
echo yarn $(yarn --version) && \
|
||||||
|
echo "============================================="
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# cleaninig up
|
# cleaninig up
|
||||||
|
Loading…
Reference in New Issue
Block a user