add development container and temporarily disable nvidia distrobox setting because its not working

This commit is contained in:
Anders Rytter Hansen 2023-11-09 20:53:04 +01:00
commit c8cbc63a8f
5 changed files with 178 additions and 10 deletions

View file

@ -0,0 +1,27 @@
FROM ghcr.io/andersrh/containers/cachyos/base-gui:main
WORKDIR /app
USER build
RUN yay -Sy --noconfirm vscodium-bin
USER root
RUN pacman -Sy --noconfirm qtcreator
RUN pip3 install pip2pkgbuild python-binance pyside6 --break-system-packages
RUN chown -R build /app
RUN mkdir /app/sqlalchemy && chown -R build /app/sqlalchemy
RUN mkdir /app/telethon && chown -R build /app/telethon
USER build
# python-binance sqlalchemy telethon pyside6
WORKDIR /app/sqlalchemy
RUN pip2pkgbuild sqlalchemy
RUN makepkg -si --noconfirm
WORKDIR /app/telethon
RUN pip2pkgbuild telethon
RUN makepkg -si --noconfirm
RUN rm -rf /app/*
USER root

View file

@ -2,11 +2,7 @@ FROM ghcr.io/andersrh/containers/cachyos/base-gui:main
WORKDIR /app
USER build
RUN yay -Sy --noconfirm vscodium-bin
USER root
RUN pacman -Sy --noconfirm yt-dlp mesa-utils qtcreator
RUN pacman -Sy --noconfirm yt-dlp mesa-utils
COPY containers/general/bin/* /usr/local/bin/
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/flatpak