remove containers
This commit is contained in:
parent
27a3368871
commit
0a5d419dda
17 changed files with 0 additions and 939 deletions
|
|
@ -1,40 +0,0 @@
|
|||
FROM docker.io/cachyos/cachyos-v3
|
||||
|
||||
WORKDIR /app
|
||||
COPY etc /etc
|
||||
|
||||
RUN pacman -Syu --noconfirm --needed git base-devel
|
||||
RUN useradd -m --shell=/bin/false build && usermod -L build
|
||||
RUN echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||
RUN echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||
RUN chown -R build /app
|
||||
RUN pacman -Sy --noconfirm yay bash bc curl diffutils findutils gnupg less lsof ncurses pinentry procps-ng shadow sudo time util-linux wget vte-common fuse
|
||||
RUN pacman -Sy --noconfirm fish htop
|
||||
RUN pacman -Sy --noconfirm libva libva-intel-driver libva-mesa-driver libva-utils intel-media-driver
|
||||
RUN pacman -Sy --noconfirm mesa opengl-driver vulkan-intel vulkan-radeon
|
||||
RUN pacman -Sy --noconfirm nss atk cups gtk3 alsa-lib
|
||||
RUN pacman -Sy --noconfirm xdg-utils
|
||||
RUN pacman -Sy --noconfirm nano ibus dbus-glib
|
||||
RUN pacman -Sy --noconfirm ttf-dejavu noto-fonts ttf-liberation
|
||||
RUN pacman -Sy --noconfirm nvidia-utils
|
||||
RUN pacman -Sy --noconfirm squashfs-tools python-pyasn1 python-pip qt6-wayland qt5-wayland
|
||||
|
||||
RUN pacman -Sy --noconfirm opencl-nvidia
|
||||
RUN pacman -Sy --noconfirm libxss
|
||||
RUN pacman -Sy --noconfirm xorg-xwininfo python-setuptools python-pyaes python-rsa python-certifi
|
||||
RUN pacman -Sy --noconfirm qt6-webengine
|
||||
# Add Bitwarden dependencies
|
||||
RUN pacman -Sy --noconfirm electron25 c-ares jsoncpp libnss_nis woff2
|
||||
|
||||
# Link xdg-open to host in order to be able to open links etc.
|
||||
RUN rm -f /usr/bin/xdg-open && ln -s /usr/bin/distrobox-host-exec /usr/bin/xdg-open
|
||||
|
||||
# Install host-spawn
|
||||
RUN wget https://github.com/1player/host-spawn/releases/download/1.5.0/host-spawn-x86_64 -O /usr/bin/host-spawn && chmod +x /usr/bin/host-spawn
|
||||
|
||||
# Add Chaotic-AUR
|
||||
RUN pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com && \
|
||||
pacman-key --lsign-key 3056513887B78AEB && \
|
||||
pacman -U --noconfirm 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' && \
|
||||
pacman -U --noconfirm 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst' &&\
|
||||
echo -en "\n\n[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist\n" >> /etc/pacman.conf
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
podman pull docker.io/cachyos/cachyos-v3
|
||||
podman build -t andersrh/cachyos/base-gui -f base-gui.Dockerfile .
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
FROM ghcr.io/andersrh/containers/cachyos/base-gui:main
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
USER build
|
||||
#RUN yay -Sy --noconfirm vscodium-bin
|
||||
RUN git clone https://aur.archlinux.org/vscodium-bin.git \
|
||||
&& cd vscodium-bin \
|
||||
&& makepkg -si --noconfirm \
|
||||
&& rm -rf /app/*
|
||||
USER root
|
||||
|
||||
RUN pacman -Sy --noconfirm qtcreator python-lsp-server
|
||||
|
||||
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
|
||||
|
|
@ -1,115 +0,0 @@
|
|||
#
|
||||
# /etc/pacman.conf
|
||||
#
|
||||
# See the pacman.conf(5) manpage for option and repository directives
|
||||
|
||||
#
|
||||
# GENERAL OPTIONS
|
||||
#
|
||||
[options]
|
||||
# The following paths are commented out with their default values listed.
|
||||
# If you wish to use different paths, uncomment and update the paths.
|
||||
#RootDir = /
|
||||
#DBPath = /var/lib/pacman/
|
||||
#CacheDir = /var/cache/pacman/pkg/
|
||||
#LogFile = /var/log/pacman.log
|
||||
#GPGDir = /etc/pacman.d/gnupg/
|
||||
#HookDir = /etc/pacman.d/hooks/
|
||||
HoldPkg = pacman glibc
|
||||
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
|
||||
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
|
||||
#CleanMethod = KeepInstalled
|
||||
#UseDelta = 0.7
|
||||
Architecture = auto
|
||||
|
||||
#IgnorePkg =
|
||||
#IgnorePkg =
|
||||
#IgnoreGroup =
|
||||
|
||||
#NoUpgrade =
|
||||
#NoExtract =
|
||||
|
||||
# Misc options
|
||||
#UseSyslog
|
||||
Color
|
||||
ILoveCandy
|
||||
#NoProgressBar
|
||||
#CheckSpace
|
||||
VerbosePkgLists
|
||||
DisableDownloadTimeout
|
||||
ParallelDownloads = 10
|
||||
|
||||
# By default, pacman accepts packages signed by keys that its local keyring
|
||||
# trusts (see pacman-key and its man page), as well as unsigned packages.
|
||||
SigLevel = Required DatabaseOptional
|
||||
LocalFileSigLevel = Optional
|
||||
#RemoteFileSigLevel = Required
|
||||
|
||||
# NOTE: You must run `pacman-key --init` before first using pacman; the local
|
||||
# keyring can then be populated with the keys of all official Arch Linux
|
||||
# packagers with `pacman-key --populate archlinux`.
|
||||
|
||||
#
|
||||
# REPOSITORIES
|
||||
# - can be defined here or included from another file
|
||||
# - pacman will search repositories in the order defined here
|
||||
# - local/custom mirrors can be added here or in separate files
|
||||
# - repositories listed first will take precedence when packages
|
||||
# have identical names, regardless of version number
|
||||
# - URLs will have $repo replaced by the name of the current repo
|
||||
# - URLs will have $arch replaced by the name of the architecture
|
||||
#
|
||||
# Repository entries are of the format:
|
||||
# [repo-name]
|
||||
# Server = ServerName
|
||||
# Include = IncludePath
|
||||
#
|
||||
# The header [repo-name] is crucial - it must be present and
|
||||
# uncommented to enable the repo.
|
||||
#
|
||||
|
||||
# The testing repositories are disabled by default. To enable, uncomment the
|
||||
# repo name header and Include lines. You can add preferred servers immediately
|
||||
# after the header, and they will be used before the default mirrors.
|
||||
|
||||
#[testing]
|
||||
#Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[cachyos-v3]
|
||||
Include = /etc/pacman.d/cachyos-v3-mirrorlist
|
||||
[cachyos-community-v3]
|
||||
Include = /etc/pacman.d/cachyos-v3-mirrorlist
|
||||
[cachyos-extra-v3]
|
||||
Include = /etc/pacman.d/cachyos-v3-mirrorlist
|
||||
[cachyos-core-v3]
|
||||
Include = /etc/pacman.d/cachyos-v3-mirrorlist
|
||||
[cachyos]
|
||||
Include = /etc/pacman.d/cachyos-mirrorlist
|
||||
|
||||
[core]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[extra]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
#[community-testing]
|
||||
#Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[community]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
# If you want to run 32 bit applications on your x86_64 system,
|
||||
# enable the multilib repositories as required here.
|
||||
|
||||
#[multilib-testing]
|
||||
#Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[multilib]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
# An example of a custom package repository. See the pacman manpage for
|
||||
# tips on creating your own repositories.
|
||||
#[custom]
|
||||
#SigLevel = Optional TrustAll
|
||||
#Server = file:///home/custompkgs
|
||||
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
FROM ghcr.io/andersrh/containers/cachyos/base-gui:main
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN pacman -Sy --noconfirm yt-dlp mesa-utils whois
|
||||
|
||||
COPY containers/general/bin/* /usr/local/bin/
|
||||
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/flatpak
|
||||
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/podman
|
||||
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/rpm-ostree
|
||||
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/nvtop
|
||||
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/distrobox
|
||||
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/uksmdstats
|
||||
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/kerver
|
||||
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/mullvad
|
||||
RUN ln -s /usr/bin/distrobox-host-exec /usr/local/bin/mullvad-exclude
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
APPNAME="general"
|
||||
|
||||
podman build -t andersrh/cachyos/$APPNAME -f cachyos.Dockerfile .
|
||||
podman rm -f $APPNAME-cachyos
|
||||
distrobox create --image andersrh/cachyos/$APPNAME --home ~/containers/$APPNAME/ $APPNAME-cachyos
|
||||
|
||||
distrobox enter $APPNAME-cachyos -- distrobox-export --app codium
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
FROM ghcr.io/andersrh/containers/cachyos/base-gui:main
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
USER build
|
||||
RUN git clone https://aur.archlinux.org/lbry-desktop-bin.git \
|
||||
&& cd lbry-desktop-bin \
|
||||
&& makepkg -si --noconfirm \
|
||||
&& rm -rf /app/*
|
||||
USER root
|
||||
|
||||
#RUN pacman -Sy --noconfirm lbry-desktop-bin
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
FROM ghcr.io/andersrh/containers/fedora-toolbox/base-gui:main
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN wget https://download.live.ledger.com/latest/linux -O ledgerlive \
|
||||
&& chmod +x ledgerlive
|
||||
COPY ledgerlive.desktop /usr/share/applications/
|
||||
COPY ledgerlive.png /usr/share/icons/
|
||||
RUN ln -s /app/ledgerlive /usr/bin/ledgerlive
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
APPNAME="ledgerlive"
|
||||
|
||||
podman build -t andersrh/fedora-toolbox/$APPNAME -f Dockerfile .
|
||||
podman rm -f $APPNAME
|
||||
distrobox create --image andersrh/fedora-toolbox/$APPNAME --home ~/containers/$APPNAME/ $APPNAME
|
||||
distrobox enter $APPNAME -- distrobox-export --bin /app/$APPNAME --export-path ~/.local/bin --extra-flags "--enable-features=WaylandWindowDecorations --ozone-platform=wayland"
|
||||
|
||||
podman rm -f $APPNAME
|
||||
|
||||
podman create --hostname "ledgerlive.anders-fedora" --ipc host --name "ledgerlive" --network host --privileged --security-opt label=disable --user root:root --pid host --label "manager=distrobox" --env "SHELL=/bin/bash" --env "HOME=/var/home/anders" --volume /:/run/host:rslave --volume /dev:/dev:rslave --volume /sys:/sys:rslave --volume /tmp:/tmp:rslave --volume "/usr/bin/distrobox-init":/usr/bin/entrypoint:ro --volume "/usr/bin/distrobox-export":/usr/bin/distrobox-export:ro --volume "/usr/bin/distrobox-host-exec":/usr/bin/distrobox-host-exec:ro --volume "/var/home/anders/containers/$APPNAME":"/var/home/anders":rslave --volume /sys/fs/selinux --volume /var/log/journal --volume /run/user/1000:/run/user/1000:rslave --volume /etc/hosts:/etc/hosts:ro --volume /etc/localtime:/etc/localtime:ro --volume /etc/resolv.conf:/etc/resolv.conf:ro --ulimit host --annotation run.oci.keep_original_groups=1 --mount type=devpts,destination=/dev/pts --userns keep-id --entrypoint /usr/bin/entrypoint andersrh/fedora-toolbox/ledgerlive -v --name "anders" --user 1000 --group 1000 --home "/var/home/anders" --init "0" --pre-init-hooks "" -- ''
|
||||
|
||||
cp ledgerlive.png ~/.local/share/icons/
|
||||
cp ledgerlive.desktop ~/.local/share/applications/
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Type = Application
|
||||
Version = 1.0
|
||||
Name = Ledger Live
|
||||
Comment = Ledger Live
|
||||
Icon = ledgerlive
|
||||
Exec = ledgerlive --enable-features=WaylandWindowDecorations --ozone-platform=wayland
|
||||
Terminal = false
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 KiB |
|
|
@ -1,15 +0,0 @@
|
|||
FROM ubuntu:22.04
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt update && apt upgrade -y
|
||||
RUN apt install -y fish htop nano firejail bash apt-utils bc curl dialog diffutils findutils gnupg2 less libnss-myhostname libvte-2.91-common libvte-common lsof ncurses-base passwd pinentry-curses procps sudo time wget util-linux libegl1-mesa libgl1-mesa-glx libvulkan1 mesa-vulkan-drivers libva2 libva-wayland2 libva-glx2 libva-drm2 libva-x11-2 intel-media-va-driver va-driver-all
|
||||
RUN apt install -y gconf2 gconf-service libnotify4 libappindicator1 libnss3 libsecret-1-dev gnome-keyring
|
||||
RUN apt install -y libasound2 libgles2
|
||||
|
||||
|
||||
# Link xdg-open to host in order to be able to open links etc.
|
||||
RUN rm -f /usr/bin/xdg-open && ln -s /usr/bin/distrobox-host-exec /usr/bin/xdg-open
|
||||
|
||||
# Install host-spawn
|
||||
RUN wget https://github.com/1player/host-spawn/releases/download/1.5.0/host-spawn-x86_64 -O /usr/bin/host-spawn && chmod +x /usr/bin/host-spawn
|
||||
|
||||
RUN apt clean
|
||||
Loading…
Add table
Add a link
Reference in a new issue