From a0ea04d2bdd8441d4d4d361781d5003b31ff0901 Mon Sep 17 00:00:00 2001 From: Job79 Date: Wed, 12 Nov 2025 16:55:05 +0100 Subject: [PATCH] chore: remove kali container --- .gitea/workflows/kali.yaml | 37 ----------------------------------- containers/kali/Containerfile | 17 ---------------- 2 files changed, 54 deletions(-) delete mode 100644 .gitea/workflows/kali.yaml delete mode 100644 containers/kali/Containerfile diff --git a/.gitea/workflows/kali.yaml b/.gitea/workflows/kali.yaml deleted file mode 100644 index 5d8e2cc..0000000 --- a/.gitea/workflows/kali.yaml +++ /dev/null @@ -1,37 +0,0 @@ -name: Build container -on: - push: - branches: ["main"] - paths: - - "containers/kali/**" - - ".gitea/workflows/kali.yaml" - pull_request: - branches: ["main"] - paths: - - "containers/kali/**" - - ".gitea/workflows/kali.yaml" - schedule: - - cron: "0 16 * * FRI" - -jobs: - kali-build: - runs-on: job-latest - steps: - - name: Clone repo - uses: actions/checkout@v4 - - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Login to Registry - uses: docker/login-action@v3 - with: - registry: git.plabble.org - username: ${{ secrets.REGISTRY_USERNAME }} - password: ${{ secrets.REGISTRY_TOKEN }} - - name: Build and push kali container - uses: docker/build-push-action@v5 - with: - context: ./containers/kali - file: ./containers/kali/Containerfile - push: true - tags: git.plabble.org/job79/kali:${{ github.ref_name }} - outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true diff --git a/containers/kali/Containerfile b/containers/kali/Containerfile deleted file mode 100644 index 42b4984..0000000 --- a/containers/kali/Containerfile +++ /dev/null @@ -1,17 +0,0 @@ -FROM docker.io/kalilinux/kali-rolling - -# === install system packages === -RUN apt update && \ - apt -y install iputils-ping sudo \ - zoxide git npm neovim gawk jq unzip fd-find lazygit - -# === setup user === -RUN useradd -ms /bin/bash user && \ - usermod -aG sudo user && sed -i 's/^%sudo\s\+ALL=(ALL:ALL)\s\+ALL$/%sudo\tALL=(ALL:ALL)\tNOPASSWD: ALL/' /etc/sudoers && \ - mkdir -p /run/user/1000 && chown user:user /run/user/1000 - -USER user -WORKDIR /home/user -RUN mkdir -p .config .local .cache -RUN git clone https://git.plabble.org/Job79/neovim-config.git .config/nvim -VOLUME /home/user