use debian
This commit is contained in:
parent
764a776eff
commit
fc180aefcf
11
Dockerfile
11
Dockerfile
@ -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
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build -t kinesis-arch .
|
||||
docker run -d --tty --name kinesis-arch kinesis-arch
|
||||
docker build -t kinesis-debian .
|
||||
docker run -d --tty --name kinesis-debian kinesis-debian
|
||||
|
Loading…
x
Reference in New Issue
Block a user