feature: docker: io: get back debian

This commit is contained in:
coderiaser 2026-03-29 23:21:43 +03:00
parent 19347a2b4c
commit efb24e229f

View file

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