TC Agent Node update

This commit is contained in:
STAM 2021-09-02 13:38:37 +03:00
parent 435e50ff6b
commit bea9ce4c4a
4 changed files with 36 additions and 16 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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