{"id":15051054,"url":"https://github.com/szepeviktor/debian-normalized","last_synced_at":"2026-01-31T23:39:57.901Z","repository":{"id":68726318,"uuid":"584589855","full_name":"szepeviktor/debian-normalized","owner":"szepeviktor","description":"My very first normalized Debian Docker image","archived":false,"fork":false,"pushed_at":"2023-01-15T10:25:56.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-13T19:45:27.589Z","etag":null,"topics":["debian","debian-linux","docker","docker-compose","docker-container","docker-image"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/szepeviktor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-01-03T02:05:35.000Z","updated_at":"2023-03-20T20:57:46.000Z","dependencies_parsed_at":"2023-02-25T23:00:09.297Z","dependency_job_id":null,"html_url":"https://github.com/szepeviktor/debian-normalized","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/szepeviktor/debian-normalized","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fdebian-normalized","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fdebian-normalized/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fdebian-normalized/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fdebian-normalized/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szepeviktor","download_url":"https://codeload.github.com/szepeviktor/debian-normalized/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fdebian-normalized/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28960538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T23:03:11.038Z","status":"ssl_error","status_checked_at":"2026-01-31T22:56:44.691Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["debian","debian-linux","docker","docker-compose","docker-container","docker-image"],"created_at":"2024-09-24T21:30:42.123Z","updated_at":"2026-01-31T23:39:57.885Z","avatar_url":"https://github.com/szepeviktor.png","language":"Shell","readme":"# Preparing my very first normalized Debian Docker image\n\n🚧 This is thinking and experimenting. Please contribute and help me make decisions! 🚧\n\nSo many Debian images are so complex and far away from safety and security of `debootstrap`-generated files.\n\n1. Created with `debootstrap` command - So clean 🤩 so lovely 🤩\n2. Normalized - even Debian base system has problems\n3. All features from my [`debian-setup.sh`](https://github.com/szepeviktor/debian-server-tools/blob/master/debian-setup/debian-setup.sh) in an image\n\n\n- Official Debian images: https://github.com/debuerreotype/debuerreotype\n- `apt-get install --no-install-recommends --no-install-suggests`\n- Keep no data in the container!\n- Meta data https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys\n\n### Parts of the base image\n\n```\n+Docker daemon logs: /var/log/syslog\n?debconf configuration?\n+image normalization apt-mark auto, blacklist: init (sysv, systemd) \u003cfeatures from debian-image-normalize.sh\n+boot/halt docker run --restart=always\n+timezone tzdata, /etc/timezone\n+hostname docker run --hostname\n+DNS docker run --dns, embedded DNS server?, /etc/resolv.conf?\n+nscd time getent ahosts intel.com\n+tini docker run --init; docker exec -it CONTAINER-NAME ps -fA\n+user serices:root, applications:normal user\n    addgroup --gid 1000 app\n    adduser --uid 1000 --gid 1000 --gecos '' --disabled-password app\n-sshd\n-dbus\n-acpid\n-rsyslog,logrotate STDOUT, STDERR -\u003e Docker logging\n-cron in host/container?\n+queue in container\n-mail SMTP \u0026 disable mail() or msmtp-mta\n-chrony from host\n-haveged from host\n-irqbalance from host\n?monit ?\n+cli tools from another image\n-delete unnecessary files\n```\n\n### Inspect image\n\n- List package sizes `dpkg-query --showformat='${Installed-size}\\t${Package}\\n' --show | sort --numeric-sort`\n- Show layers on CLI: `docker image inspect`, `docker hisrtory`, `dive`\n\n### Apps\n\nconfiguration, data files, logs\n\n```\n+Apache 2.4 with HTTP/2 and event MPM\n+PHP-FPM 7.4\n+Redis in-memory cache\n+MariaDB 10 or Percona Server 5.7\n+WordPress\n+Laravel\n```\n\n### Delete unnecessary files\n\n```bash\napt-get clean\nrm -r /var/lib/apt/lists/*\nrm -r /usr/share/locale/[a-z][a-z]*\nrm -r /usr/share/man/[a-z][a-z]*\nrm /var/log/dpkg.log /var/log/bootstrap.log /var/log/alternatives.log /var/cache/ldconfig/aux-cache\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszepeviktor%2Fdebian-normalized","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszepeviktor%2Fdebian-normalized","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszepeviktor%2Fdebian-normalized/lists"}