{"id":15583499,"url":"https://github.com/osiegmar/spring-boot-docker-readonly","last_synced_at":"2026-03-02T04:34:35.449Z","repository":{"id":149740553,"uuid":"84732947","full_name":"osiegmar/spring-boot-docker-readonly","owner":"osiegmar","description":"Example project for Spring Boot application running inside a read-only docker container","archived":false,"fork":false,"pushed_at":"2017-03-12T14:54:00.000Z","size":57,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-12T04:05:04.998Z","etag":null,"topics":["docker","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osiegmar.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-03-12T14:44:07.000Z","updated_at":"2024-06-27T10:28:03.000Z","dependencies_parsed_at":"2023-04-22T13:17:16.200Z","dependency_job_id":null,"html_url":"https://github.com/osiegmar/spring-boot-docker-readonly","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/osiegmar/spring-boot-docker-readonly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osiegmar%2Fspring-boot-docker-readonly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osiegmar%2Fspring-boot-docker-readonly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osiegmar%2Fspring-boot-docker-readonly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osiegmar%2Fspring-boot-docker-readonly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osiegmar","download_url":"https://codeload.github.com/osiegmar/spring-boot-docker-readonly/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osiegmar%2Fspring-boot-docker-readonly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29992327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["docker","spring-boot"],"created_at":"2024-10-02T20:08:45.728Z","updated_at":"2026-03-02T04:34:35.440Z","avatar_url":"https://github.com/osiegmar.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot application in read-only docker container \n\nExample project for Spring Boot application running inside a read-only docker container.\n\nBasically these steps are currently required:\n\n* Add `server.tomcat.basedir=/tmp/tomcat` to `application.properties`\n* Create `/tmp/tomcat` and `static` within `Dockerfile`\n\nSee https://github.com/spring-projects/spring-boot/issues/8578 for background information.\n\n\n## Steps to build and run this application\n\n```sh\n./gradlew build\ndocker build -t spring-boot-docker-readonly .\ndocker run -ti --rm --read-only spring-boot-docker-readonly\n```\n\n# Warning\n\nDon't consider this as a recommended solution! It's a **ugly hack** - for demonstration purposes only!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosiegmar%2Fspring-boot-docker-readonly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosiegmar%2Fspring-boot-docker-readonly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosiegmar%2Fspring-boot-docker-readonly/lists"}