26 Commits
Author SHA1 Message Date
marc c687607bef allow software
Docker / build (push) Canceled after 0s
2022-11-18 03:50:18 +01:00
marc 47c909c9ea one step at a time 2022-11-18 03:44:00 +01:00
marc aff5f9892b hyprland stuff then 2022-11-18 03:30:36 +01:00
marc 0382170ea7 devices 2022-11-18 03:13:31 +01:00
marc d3327c2ab4 nvdia 2022-10-29 02:27:13 +02:00
marc dd5b023ddf fuck the right way 2022-10-29 02:15:32 +02:00
marc 8e1f358b35 amd driver 2022-10-29 02:07:11 +02:00
marc df4cba4a10 lets give it the right way 2022-10-29 02:06:27 +02:00
marc 79e869af8a same dev dri lets share gpu lets go 2022-10-29 02:04:58 +02:00
marc d694b82a36 change order 2022-10-29 01:41:48 +02:00
marc e8d6c10a30 xdg env vars and wayland display 2022-10-29 01:41:11 +02:00
marc bbcc915bb7 headless env 2022-10-28 18:58:17 +02:00
marc 7e18cb8c40 libseat backend is logind 2022-10-28 18:53:35 +02:00
marc b0999881d9 openrc 2022-10-28 18:14:57 +02:00
marc 0dec0927b8 hyprland 2022-10-28 16:52:37 +02:00
marc 40305fcd40 Merge branch 'master' into artix 2022-10-25 22:54:22 +02:00
marc a190411195 makefile lowercase 2022-10-25 22:32:43 +02:00
marc 661eb8a7a9 artix 2022-10-25 22:22:24 +02:00
marc e100c00560 tmpfs 2022-10-23 03:06:59 +02:00
marc 1d1be887c2 user root 2022-10-23 02:37:21 +02:00
marc 5ec5c35b11 bye entrypoint 2022-10-23 01:52:31 +02:00
marc 0e62dfab7f rip bat 2022-10-23 01:44:12 +02:00
marc adfe40a15e make artix 2022-10-19 11:16:09 +02:00
marc 481302a146 bye podman 2022-10-06 21:02:15 +02:00
marc e8b4959b17 artix docker-compose.yml 2022-10-02 23:31:34 +02:00
marc 2e457664f7 artix 2022-10-02 23:30:59 +02:00
4 changed files with 113 additions and 0 deletions
+83
View File
@@ -0,0 +1,83 @@
FROM artixlinux/openrc:latest
LABEL maintainer="Marc Partensky"
RUN pacman -Syyyu --needed --noconfirm base-devel
RUN pacman -S --noconfirm git
RUN useradd --create-home --groups wheel --shell /usr/bin/zsh marc
RUN passwd -d marc
RUN echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers
USER marc
WORKDIR /tmp
RUN git clone https://aur.archlinux.org/paru.git
WORKDIR /tmp/paru
RUN makepkg -si --noconfirm
# RUN paru -Rc --noconfirm elogind-openrc
RUN paru -Syyyu --noconfirm \
zsh \
neovim \
exa \
paruz \
make \
npm \
go \
pod2man \
openssh \
stow-git
# RUN paru -aS --noconfirm \
# bat
COPY entrypoint.sh /tmp/entrypoint.sh
USER root
RUN cat /etc/locale.gen
# RUN sed -i -e 's/en_US.UTF-8 UTF-8/fr_FR.UTF-8 UTF-8/' /etc/locale.gen
# RUN cat /etc/locale.gen
# RUN locale-gen
# RUN cat /etc/locale.gen
ENV LC_ALL fr_FR.UTF-8
ENV LANG fr_FR.UTF-8
ENV LANGUAGE fr_FR:fr
USER marc
WORKDIR /home/marc
RUN mkdir git
RUN git clone https://github.com/marcpartensky/dotfiles git/dotfiles
RUN zsh git/dotfiles/main.sh
RUN make -C git/dotfiles stow
RUN touch .profile
RUN git clone https://github.com/marcpartensky/nvim ~/.config/nvim
RUN make -C ~/.config/nvim setup
# ENV WLR_DRM_DEVICES=/dev/dri/card0
ENV WLR_BACKENDS=headless
ENV WLR_RENDERER=pixman
ENV WLR_RENDERER_ALLOW_SOFTWARE=1
ENV WLR_LIBINPUT_NO_DEVICES=1
ENV WAYLAND_DISPLAY=wayland-1
ENV LIBSEAT_BACKEND=logind
ENV XDG_RUNTIME_DIR=/tmp
ENV XDG_SESSION_TYPE=wayland
RUN paru -Syyyu --noconfirm \
alacritty \
firefox \
nautilus
RUN paru -Syyyu --noconfirm \
hyprland \
wayvnc \
wpaperd \
# waysct
USER root
# ENTRYPOINT [ "/tmp/entrypoint.sh" ]
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/zsh
ssh-keygen -q -t rsa -N '' -f $HOME/.ssh/id_rsa
exec zsh
+21
View File
@@ -10,6 +10,27 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
artix:
image: marcpartensky/artix
build:
context: artix
tmpfs:
- /tmp
- /run
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
# - /sys/fs/cgroup:/sys/fs/cgroup:ro
# - /dev/dri:/dev/dri
devices:
- /dev/dri
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvdia
# count: 1
# capabilities: [gpu]
xorg:
image: marcpartensky/arch:xorg
build:
+5
View File
@@ -6,6 +6,8 @@ vnc: buildvnc
docker-compose up vnc
parabola: buildparabola
docker-compose up parabola
artix: buildartix
docker-compose up artix
buildbase:
docker-compose build base
@@ -15,6 +17,8 @@ buildvnc: buildxorg
docker-compose build vnc
buildparabola: buildbase
docker-compose build parabola
buildartix:
docker-compose build artix
buildall: buildbase buildxorg buildvnc buildparabola
@@ -24,6 +28,7 @@ updateall:
docker-compose build --no-cache xorg
docker-compose build --no-cache vnc
docker-compose build --no-cache parabola
docker-compose build --no-cache artix
docker-compose push
push: buildall