use debian

This commit is contained in:
Kishan Takoordyal 2021-02-12 08:52:48 +04:00
parent 764a776eff
commit fc180aefcf
No known key found for this signature in database
GPG Key ID: 304DF64F0804D6A1
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>" LABEL maintainer="Kishan Takoordyal <kishan@kinesis.games>"
# Update package repositories # Update package repositories
RUN pacman -Syy --noconfirm RUN apt update && \
apt upgrade -y
# Install some dependencies # 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 # 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 i npm@latest -g && \
npm -v npm -v

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
docker build -t kinesis-arch . docker build -t kinesis-debian .
docker run -d --tty --name kinesis-arch kinesis-arch docker run -d --tty --name kinesis-debian kinesis-debian