{"id":20322805,"url":"https://github.com/naologic/bo11-dev-docker","last_synced_at":"2026-02-11T10:32:50.360Z","repository":{"id":101992058,"uuid":"253754937","full_name":"naologic/bo11-dev-docker","owner":"naologic","description":"Bo11 run locally","archived":false,"fork":false,"pushed_at":"2020-04-10T11:39:01.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-13T21:45:25.683Z","etag":null,"topics":["naologic"],"latest_commit_sha":null,"homepage":null,"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/naologic.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":"2020-04-07T10:01:35.000Z","updated_at":"2020-04-10T11:39:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"e8947ef0-d9b8-4578-8f81-45e99f15f56d","html_url":"https://github.com/naologic/bo11-dev-docker","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/naologic/bo11-dev-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naologic%2Fbo11-dev-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naologic%2Fbo11-dev-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naologic%2Fbo11-dev-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naologic%2Fbo11-dev-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naologic","download_url":"https://codeload.github.com/naologic/bo11-dev-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naologic%2Fbo11-dev-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29332277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: 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":["naologic"],"created_at":"2024-11-14T19:24:56.812Z","updated_at":"2026-02-11T10:32:50.344Z","avatar_url":"https://github.com/naologic.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bo11 Angular\n\nDocker image for Angular CLI to use as build container.\n\nImage on dockerhub:\n\n![Docker stats](https://dockeri.co/image/naologic/bo11-dev-docker)\n\nCurrently this image uses node 12 (npm 6) and node:lts-slim as base distribution.\n\nThe AngularCLI analytics feature is disabled by default to avoid problems in CI environments.\nIf you want to opt-in, set the `NG_CLI_ANALYTICS` environment variable to an empty value.\n\n## Example usage \n```\ndocker run -u $(id -u) --rm -v \"$PWD\":/app naologic/bo11-dev-docker ng new MyDemo\ncd MyDemo\ndocker run -u $(id -u) --rm -v \"$PWD\":/app naologic/bo11-dev-docker ng build\n```\n\nTo run the Angular CLI development server from docker you need to map the port and instruct Angular CLI to listen on all interfaces.\nFor example use\n```\ncd MyDemo\ndocker run -u $(id -u) --rm -p 4200:4200 -v \"$PWD\":/app naologic/bo11-dev-docker ng serve --host 0.0.0.0\n```\n\nIf you want to clone additional git repositories, f.e. from package.json, and you run with a different user than uid 1000 you need to mount the passwd since git requires to resolve the uid.\n\n```\ndocker run -u $(id -u) --rm -p 4200:4200 -v /etc/passwd:/etc/passwd -v \"$PWD\":/app naologic/bo11-dev-docker npm install\n```\n\n## using yarn\nThis image contains yarn preinstalled and can be used as alternative package manager.\nIf you want to use a shared cache directory for yarn, you will need to mount the directory into the image.\n\n### New project with yarn\n```\ndocker run -u $(id -u) --rm -v \"$PWD\":/app naologic/bo11-dev-docker sh -c \"ng set --global packageManager=yarn; ng new MyDemoProject\"\n```\n\nNote the Angular CLI docker container instance is removed after each execution, therefore the selection of the package manager will just influence the current execution.\n\n### Using a shared cache\n\nYou can use the regular yarn cache directory or specify a different directory.\nMake sure that you already have the cache directory initialized before using it with this docker image, otherwise the permissions might end up wrong.\n\nUsing the regular yarn directory, which should be the right choice when using during regular development:\n```\ndocker run -u $(id -u) --rm -v \"$HOME/.cache/yarn\":/tmp/.cache/yarn -v \"$PWD\":/app naologic/bo11-dev-docker sh -c \"ng set --global packageManager=yarn; ng new MyDemoProject\"\n```\n\nAssuming you have a directory \"../yarn-cache\" with appropriate access rights, you can use it to create a new project using the following command\n\n```\ndocker run -u $(id -u) --rm -v \"$PWD/../yarn-cache\":/tmp/.cache/yarn -v \"$PWD\":/app naologic/bo11-dev-docker sh -c \"ng set --global packageManager=yarn; ng new MyDemoProject\"\n```\n\nFor subsequent package installations (f.e. in a CI build) just use `yarn` instead of `npm`.\n\n### Offline mode\nThis requires the use of a shared cache and a `yarn.lock` file from a previous yarn package installation run.\n\n```\ncd MyDemoProject\ndocker run -u $(id -u) --rm -v \"$PWD/../../yarn-cache\":/tmp/.cache/yarn -v \"$PWD\":/app naologic/bo11-dev-docker yarn install --offline\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaologic%2Fbo11-dev-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaologic%2Fbo11-dev-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaologic%2Fbo11-dev-docker/lists"}