diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-08-23 19:19:59 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-08-23 19:19:59 +0300 |
commit | 7cf79933bffcce36123d3a04f74afb11e94e9660 (patch) | |
tree | 4583ebffdaa8b9e9b2142cf1b1448e1abd4a72e9 | |
parent | 1f517b6b25a5a1a5859f693015a2ce86df1f4b6f (diff) | |
download | arching-kaos-tools-7cf79933bffcce36123d3a04f74afb11e94e9660.tar.gz arching-kaos-tools-7cf79933bffcce36123d3a04f74afb11e94e9660.tar.bz2 arching-kaos-tools-7cf79933bffcce36123d3a04f74afb11e94e9660.zip |
Added support for ArchLinux
-rwxr-xr-x | install.sh | 8 | ||||
-rw-r--r-- | podman/ContainerFile.archlinux | 13 |
2 files changed, 21 insertions, 0 deletions
@@ -51,6 +51,14 @@ checkPkgManager(){ installCommand="install" dontAskFlag="-y" fi + which pacman 2> /dev/null 1>&2 + if [ $? == 0 ] + then + printf "\tFound APT\n" + packageManager="$(which pacman)" + installCommand="-S" + dontAskFlag="--noconfirm" + fi if [ "$packageManager" == "" ] then printf "Could not find package manager\n" diff --git a/podman/ContainerFile.archlinux b/podman/ContainerFile.archlinux new file mode 100644 index 0000000..573472d --- /dev/null +++ b/podman/ContainerFile.archlinux @@ -0,0 +1,13 @@ +FROM archlinux:latest +RUN pacman -Suy --noconfirm && pacman -Syu --noconfirm which git screen pinentry -y +COPY . /root/arching-kaos-tools +RUN bash -c 'cd /root/arching-kaos-tools && /root/arching-kaos-tools/install.sh' +RUN git config --global user.email "kaos@kaos.kaos" +RUN git config --global user.name "kaos" +RUN git config --global init.defaultBranch master +EXPOSE 4001/tcp +EXPOSE 5001/tcp +EXPOSE 8080/tcp +ENTRYPOINT ["tail","-f","/root/.arching-kaos/logs"] + + |