{"id":28682309,"url":"https://github.com/hanez/rusty","last_synced_at":"2026-04-29T19:34:07.843Z","repository":{"id":297133762,"uuid":"995720780","full_name":"hanez/rusty","owner":"hanez","description":"My Hack environment in a Docker container. (mirror from: https://git.xw3.org/hanez/rusty)","archived":false,"fork":false,"pushed_at":"2025-06-27T06:07:24.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-27T07:24:37.834Z","etag":null,"topics":["cli","compose","development","docker","dockerfile","environment","rust","tui"],"latest_commit_sha":null,"homepage":"https://git.xw3.org/hanez/rusty","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/hanez.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,"zenodo":null}},"created_at":"2025-06-03T23:10:27.000Z","updated_at":"2025-06-27T06:07:27.000Z","dependencies_parsed_at":"2025-06-06T22:28:57.864Z","dependency_job_id":"97c57627-0ad9-4880-98b4-de90544c42ed","html_url":"https://github.com/hanez/rusty","commit_stats":null,"previous_names":["hanez/rust-docker","hanez/rusty"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hanez/rusty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanez%2Frusty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanez%2Frusty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanez%2Frusty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanez%2Frusty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanez","download_url":"https://codeload.github.com/hanez/rusty/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanez%2Frusty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32441255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["cli","compose","development","docker","dockerfile","environment","rust","tui"],"created_at":"2025-06-14T02:08:15.632Z","updated_at":"2026-04-29T19:34:07.832Z","avatar_url":"https://github.com/hanez.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My Hack Environment in a Docker Container\n\nThis container image is based on \"alpine:3.22\".\n\nWhy Alpine? Because Alpine Linux is definitely the best Linux based operating system distribution I ever have used since 1999!\n\nWhy the name \"rusty\"? Because it is based on some earlier Docker stuff I made for compiling Rust code... And rusty just sounds cool.\n\nIt still includes a full Rust environment/SDK! You need to add \"/usr/local/cargo/bin\" to your $PATH if you want to make use of it; For user \"root\" it is done by Docker.\n\nWhy Rust? Because I really like this language...\n\nMy plan is to switch from Docker to native Linux Containers at some time but I am faster in building the prototype using Docker... ;)\n\n## Prerequisites\n\n * Docker...! What a wonder... :)\n * Be sure to be a member of the docker group. Else you need to do all the next steps as user root. I will not cover this here!\n\n## Get the code\n\n    git clone https://git.xw3.org/hanez/rusty\n    # or\n    git clone git@git.xw3.org:hanez/rusty.git # (needs an account on git.xw3.org)\n    cd rusty\n\n## Prepare the environment (This is totally wrong! Give me some time... ;))\n\n    mkdir -p home/$USER\n    chown $USER:$USER home/$USER\n    chmod 0750 home/$USER\n    sudo chown root:root home\n    sudo mkdir root\n    sudo chown root:root root\n\n## Configure your environment (Optional)\n\nOptionally you can configure your $HOME directories (/home/$USER and /root). I do this by pulling my $HOME configuration from my Git server. Pulling my $HOME configuration will not work for you because you are not allowed to pull via the Git protocol. This is just an example on how I do it... E.g.:\n\n    git clone git@git.xw3.org:hanez/home.git home/hanez\n    sudo git clone git@git.xw3.org:hanez/home.git root\n\nI manage these Git based $HOME directories/repositories outside of the container.\n\nIf you do not configure your $HOME directories here, the container creates missing configuration files.\n\n### Create SSH key file\n\nCreate a private key without a password.\n\n    ssh-keygen -N \"\" -f home/$USER/.ssh/ed25519\n\n## Using docker compose\n\n    docker compose build\n    docker compose up -d\n    docker attach rusty\n\nYou can stop the container by executing \"exit\" or by hiting ctrl+c when attached. You can always detache the container when hiting ctrl+p and then ctrl+q. This is useful if you have a screen or a tmux session runningin your container, or maybe some other applications.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanez%2Frusty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhanez%2Frusty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanez%2Frusty/lists"}