mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
feature: docker: io: get back debian
This commit is contained in:
parent
19347a2b4c
commit
efb24e229f
1 changed files with 5 additions and 9 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM ubuntu
|
||||
FROM node
|
||||
LABEL maintainer="Coderaiser"
|
||||
LABEL org.opencontainers.image.source="https://github.com/coderaiser/cloudcmd"
|
||||
|
||||
|
|
@ -9,20 +9,16 @@ COPY package.json /usr/src/cloudcmd/
|
|||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
apt-get install -y curl git ffmpeg net-tools netcat-openbsd mc iputils-ping vim neovim sudo locales \
|
||||
build-essential \
|
||||
libatomic1 \
|
||||
command-not-found \
|
||||
ca-certificates && \
|
||||
RUN apt-get update && apt-get upgrade && apt-get autoremove && \
|
||||
apt-get install -y ffmpeg net-tools netcat-openbsd mc iputils-ping vim neovim \
|
||||
sudo locales command-not-found && \
|
||||
apt-get autoremove && apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
echo "> install node" && \
|
||||
echo "> install nvm" && \
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash && \
|
||||
mv ~/.nvm /usr/local/src/nvm && \
|
||||
chmod a+rwx /usr/local/src/nvm && \
|
||||
. /usr/local/src/nvm/nvm.sh && \
|
||||
nvm i node && \
|
||||
echo "> install npm globals" && \
|
||||
npm i wisdom nupdate version-io redrun superc8 \
|
||||
supertape madrun redlint putout renamify-cli runny redfork -g && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue