use debian

This commit is contained in:
Kishan Takoordyal
2021-02-12 08:52:48 +04:00
parent 764a776eff
commit fc180aefcf
2 changed files with 9 additions and 6 deletions

View File

@@ -1,15 +1,18 @@
FROM manjarolinux/base:latest
FROM debian:bullseye-slim
LABEL maintainer="Kishan Takoordyal <kishan@kinesis.games>"
# Update package repositories
RUN pacman -Syy --noconfirm
RUN apt update && \
apt upgrade -y
# Install some dependencies
RUN pacman -S iputils nano gcc glibc nodejs npm unzip --noconfirm
RUN apt install -y iputils nano gcc glibc unzip build-essential curl
# Install NodeJS & npm
RUN node -v && \
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash && \
apt install nodejs -y && \
node -v && \
npm i npm@latest -g && \
npm -v