Skip to content

Commit d25a08d

Browse files
committed
feature: docker: io: ubuntu
1 parent e04c459 commit d25a08d

1 file changed

Lines changed: 15 additions & 4 deletions

File tree

docker/Dockerfile.io

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

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

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

0 commit comments

Comments
 (0)