feat(install): Do distro specific setup before installing os-packages

This commit is contained in:
Pratik Tripathy
2024-09-11 22:56:50 +05:30
parent b52a3f1863
commit e254d8dba1
7 changed files with 41 additions and 141 deletions

View File

@@ -1,14 +1,13 @@
#FROM kdeneon/plasma
#FROM debian:11-slim
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
#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
WORKDIR /dotfiles
RUN apt-get update && apt-get install sudo -y # for debian distros
#RUN dnf install sudo -y # for fedora and its derivatives
COPY . .
CMD [ "sh", "install.sh" ]
CMD [ "sh", "setup.sh", "-i" ]