feat(install): Make install ditro-agnostic

- Auto detect and use apt, dnf & yum
This commit is contained in:
Pratik Tripathy
2024-09-11 15:49:00 +05:30
parent 391f3757ba
commit b52a3f1863
11 changed files with 176 additions and 51 deletions

14
scripts/test/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
#FROM kdeneon/plasma
#FROM debian:11-slim
#FROM debian:12-slim
#FROM ubuntu:20.04
#FROM ubuntu:22.04
#FROM ubuntu:22.10
#FROM ubuntu:23.04
FROM fedora:40
#TODO: Arch
WORKDIR /scripts
#RUN apt-get update -y && apt-get install sudo -y # for debian distros
RUN dnf install sudo -y # for fedora and its derivatives
COPY . .
CMD [ "sh", "install.sh" ]