{"id":20856743,"url":"https://github.com/pkgforge-dev/Dockerfiles","last_synced_at":"2025-09-29T10:31:15.859Z","repository":{"id":238816997,"uuid":"797634815","full_name":"Azathothas/Dockerfiles","owner":"Azathothas","description":"A collection of Dockerfiles \u0026 Misc Docs","archived":false,"fork":false,"pushed_at":"2024-06-15T02:48:19.000Z","size":72,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-18T04:37:08.682Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Azathothas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-08T08:13:39.000Z","updated_at":"2024-07-08T15:06:18.000Z","dependencies_parsed_at":"2024-11-18T04:35:22.054Z","dependency_job_id":"b0750f63-5e7e-4ed4-aa4e-ab5a4ba0663d","html_url":"https://github.com/Azathothas/Dockerfiles","commit_stats":null,"previous_names":["azathothas/dockerfiles"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azathothas%2FDockerfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azathothas%2FDockerfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azathothas%2FDockerfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azathothas%2FDockerfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azathothas","download_url":"https://codeload.github.com/Azathothas/Dockerfiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234609921,"owners_count":18859897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T04:33:53.033Z","updated_at":"2025-09-29T10:31:10.507Z","avatar_url":"https://github.com/Azathothas.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"- #### Setup\n\u003e - [Install Sysbox](https://github.com/nestybox/sysbox) ([Supported Distros](https://github.com/nestybox/sysbox/blob/master/docs/distro-compat.md#supported-linux-distros))\n\u003e ```bash\n\u003e !# Del Existing Docker Images\n\u003e docker rm $(docker ps -a -q) -f\n\u003e ARCH=\"$(uname -m)\" ; [ \"${ARCH}\" = \"aarch64\" ] \u0026\u0026 ARCH=\"arm64\" || [ \"${ARCH}\" = \"x86_64\" ] \u0026\u0026 ARCH=\"amd64\"\n\u003e\n\u003e #-------------------------------------------------------#\n\u003e 🌀 ❯ [Debian]\n\u003e !# Install Deps\n\u003e sudo apt-get update -y -qq\n\u003e sudo apt-get install fuse3 libfuse-dev -y\n\u003e sudo apt-get install \"linux-headers-$(uname -r)\" -y\n\u003e sudo apt-get install linux-headers-\"${ARCH}\" -y\n\u003e sudo apt-get --fix-broken install -y\n\u003e \n\u003e # Get .Deb PKGS\n\u003e pushd \"$(mktemp -d)\" \u003e/dev/null 2\u003e\u00261 \u0026\u0026 \\\n\u003e wget --quiet --show-progress \"$(curl -qfsSL 'https://api.github.com/repos/nestybox/sysbox/releases/latest' | jq -r '.body' | sed -n 's/.*(\\(https:\\/\\/.*\\.deb\\)).*/\\1/p' | grep -i \"${ARCH}\")\" -O \"./sysbox.deb\" \u0026\u0026 sudo dpkg -i \"./sysbox.deb\" ; popd \u003e/dev/null 2\u003e\u00261\n\u003e sudo apt-get autoremove -y -qq ; sudo apt-get update -y -qq \u0026\u0026 sudo apt-get upgrade -y -qq\n\u003e #Test\n\u003e sysbox-runc --version\n\u003e #-------------------------------------------------------#\n\u003e ```\n---\n- #### [x86_64-Ubuntu](https://github.com/Azathothas/Dockerfiles/blob/main/x86_64-ubuntu.dockerfile)\n\u003e - This is a base image [`ubuntu:latest`](https://hub.docker.com/_/ubuntu) with some additional tweaks \u0026 addons\n\u003e - **Preconfigured** : `Systemd + SSHD + Docker`\n\u003e - **Runtime** : [`sysbox-runc`]((https://github.com/nestybox/sysbox))\n\u003e - **Init** : [s6-overlay](https://github.com/just-containers/s6-overlay)\n\u003e - **Docker Hub** : (https://hub.docker.com/r/azathothas/x86_64-ubuntu)\n\u003e ```bash\n\u003e docker run --runtime=\"sysbox-runc\" -it --rm --name=\"ubuntu-systemd\" \"azathothas/ubuntu-systemd-base:latest\"\n\u003e !# Login\n\u003e \"${USER}\"=\"runner\"\n\u003e \"${PASSWORD}\"=\"runneradmin\"\n\u003e ```\n\u003e \u003e - Building\n\u003e \u003e ```bash\n\u003e \u003e !# Get Dockerfile\n\u003e \u003e pushd \"$(mktemp -d)\" \u003e/dev/null 2\u003e\u00261 \u0026\u0026 \\\n\u003e \u003e curl -qfsSLJO \"https://pub.ajam.dev/repos/Azathothas/Dockerfiles/x86_64-ubuntu.dockerfile\"\n\u003e \u003e export DOCKER_CONTAINER_FILE=\"./x86_64-ubuntu.dockerfile\"\n\u003e \u003e export DOCKER_CONTAINER_NAME=\"x86_64-ubuntu\"\n\u003e \u003e export DOCKER_CONTAINER_TAG=\"x86_64-ubuntu:debug\"\n\u003e \u003e \n\u003e \u003e !# Build [Remove --no-cache if wants to skip steps]\n\u003e \u003e docker image remove \"${DOCKER_CONTAINER_NAME}\" --force 2\u003e/dev/null\n\u003e \u003e docker build \"./\" --file \"${DOCKER_CONTAINER_FILE}\" --tag \"${DOCKER_CONTAINER_TAG}\" --no-cache\n\u003e \u003e docker images --filter \"${DOCKER_CONTAINER_TAG}\"\n\u003e \u003e \n\u003e \u003e !# Run [Use --publish (p) \"127.0.0.1:$PORT:22\" to assign a Fixed Port ]\n\u003e \u003e docker stop \"$(docker ps -aqf name=${DOCKER_CONTAINER_NAME})\" 2\u003e/dev/null ; docker rm \"$(docker ps -aqf name=${DOCKER_CONTAINER_NAME})\" 2\u003e/dev/null\n\u003e \u003e docker run --runtime=\"sysbox-runc\" --detach --name \"${DOCKER_CONTAINER_NAME}\" \"${DOCKER_CONTAINER_TAG}\"\n\u003e \u003e # docker run --runtime=\"sysbox-runc\" --detach --publish-all --name \"${DOCKER_CONTAINER_NAME}\" \"${DOCKER_CONTAINER_TAG}\"\n\u003e \u003e # docker run --runtime=\"sysbox-runc\" --detach --publish \"127.0.0.1:2222:22\" --name \"${DOCKER_CONTAINER_NAME}\" \"${DOCKER_CONTAINER_TAG}\"\n\u003e \u003e echo -e \"IP Address : $(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ${DOCKER_CONTAINER_NAME})\"\n\u003e \u003e \n\u003e \u003e # If Publised Ports : echo -e \"Ports : $(docker inspect --format='{{range $p, $conf := .NetworkSettings.Ports}}{{$p}} -\u003e {{(index $conf 0).HostPort}} {{end}}' ${DOCKER_CONTAINER_NAME})\"\n\u003e \u003e\n\u003e \u003e !# SSH\n\u003e \u003e SSH_IP=\"$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ${DOCKER_CONTAINER_NAME})\" 2\u003e/dev/null ; \\\n\u003e \u003e SSH_PORT=\"$(docker inspect --format='{{(index (index .NetworkSettings.Ports \"22/tcp\") 0).HostPort}}' ${DOCKER_CONTAINER_NAME} 2\u003e/dev/null)\" ; \\\n\u003e \u003e echo -e \"\\n To SSH (password: runneradmin)\\n ssh-keygen -f \\\"$HOME/.ssh/known_hosts\\\" -R \\\"${SSH_IP}\\\"\\n ssh \\\"runner@${SSH_IP}\\\" -p \\\"${SSH_PORT:-22}\\\" -o \\\"StrictHostKeyChecking=no\\\"\\n\"\n\u003e \u003e\n\u003e \u003e !# If SSH Fails\n\u003e \u003e docker exec --interactive --tty \"${DOCKER_CONTAINER_NAME}\" bash -il\n\u003e \u003e \n\u003e \u003e !# Cleanup\n\u003e \u003e docker stop \"$(docker ps -aqf name=${DOCKER_CONTAINER_NAME}\" 2\u003e/dev/null ; docker rm \"$(docker ps -aqf name=${DOCKER_CONTAINER_NAME})\" 2\u003e/dev/null\n\u003e \u003e docker image remove \"${DOCKER_CONTAINER_TAG}\" --force\n\u003e \u003e popd \u003e/dev/null 2\u003e\u00261\n\u003e \u003e ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkgforge-dev%2FDockerfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkgforge-dev%2FDockerfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkgforge-dev%2FDockerfiles/lists"}