Skip to content

Commit efb24e2

Browse files
committed
feature: docker: io: get back debian
1 parent 19347a2 commit efb24e2

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

docker/Dockerfile.io

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu
1+
FROM node
22
LABEL maintainer="Coderaiser"
33
LABEL org.opencontainers.image.source="https://github.com/coderaiser/cloudcmd"
44

@@ -9,20 +9,16 @@ COPY package.json /usr/src/cloudcmd/
99

1010
ENV 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 && \

0 commit comments

Comments
 (0)