File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM ubuntu
1+ FROM node
22LABEL maintainer= " Coderaiser"
33LABEL org.opencontainers.image.source= " https://github.com/coderaiser/cloudcmd"
44
@@ -9,20 +9,16 @@ COPY package.json /usr/src/cloudcmd/
99
1010ENV DEBIAN_FRONTEND = noninteractive
1111
12- RUN apt- get update && apt- get upgrade - y && \
13- apt- get install - y curl git ffmpeg net- tools netcat- openbsd mc iputils- ping vim neovim sudo locales \
14- build- essential \
15- libatomic1 \
16- command- not- found \
17- ca- certificates && \
12+ RUN apt- get update && apt- get upgrade && apt- get autoremove && \
13+ apt- get install - y ffmpeg net- tools netcat- openbsd mc iputils- ping vim neovim \
14+ sudo locales command- not- found && \
1815 apt- get autoremove && apt- get clean && \
1916 rm - rf / var/ lib/ apt/ lists/* && \
20- echo "> install node " && \
17+ echo "> install nvm " && \
2118 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash && \
2219 mv ~/.nvm /usr/local/src/nvm && \
2320 chmod a+rwx /usr/local/src/nvm && \
2421 . /usr/local/src/nvm/nvm.sh && \
25- nvm i node && \
2622 echo "> install npm globals" && \
2723 npm i wisdom nupdate version-io redrun superc8 \
2824 supertape madrun redlint putout renamify-cli runny redfork -g && \
You can’t perform that action at this time.
0 commit comments