mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
feat(install): Make install ditro-agnostic
- Auto detect and use apt, dnf & yum
This commit is contained in:
14
scripts/test/Dockerfile
Normal file
14
scripts/test/Dockerfile
Normal 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" ]
|
||||
Reference in New Issue
Block a user