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 node
1+ FROM ubuntu
22LABEL maintainer= " Coderaiser"
33LABEL org.opencontainers.image.source= " https://github.com/coderaiser/cloudcmd"
44
@@ -9,9 +9,20 @@ COPY package.json /usr/src/cloudcmd/
99
1010ENV DEBIAN_FRONTEND = noninteractive
1111
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 sudo locales && \
14- apt- get clean && \
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+ ca- certificates && \
17+ apt- get autoremove && apt- get clean && \
18+ rm - rf / var/ lib/ apt/ lists/* && \
19+ echo "> install node" && \
20+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash && \
21+ mv ~/.nvm /usr/local/src/nvm && \
22+ chmod a+rwx /usr/local/src/nvm && \
23+ . /usr/local/src/nvm/nvm.sh && \
24+ nvm i node && \
25+ echo "> install npm globals" && \
1526 npm i wisdom nupdate version-io redrun superc8 \
1627 supertape madrun redlint putout renamify-cli runny redfork -g && \
1728 echo "> install bun" && \
You can’t perform that action at this time.
0 commit comments