{"id":22001007,"url":"https://github.com/rod-persky/docker_scm-manager","last_synced_at":"2026-04-19T14:03:42.711Z","repository":{"id":12909235,"uuid":"15586539","full_name":"Rod-Persky/docker_scm-manager","owner":"Rod-Persky","description":"scm-manager preinstalled into docker using the ubuntu base","archived":false,"fork":false,"pushed_at":"2014-01-03T00:11:38.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T05:26:36.943Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"kadirahq/lokka-transport-http","license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rod-Persky.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}},"created_at":"2014-01-02T15:16:18.000Z","updated_at":"2014-01-03T00:11:39.000Z","dependencies_parsed_at":"2022-09-07T17:23:31.860Z","dependency_job_id":null,"html_url":"https://github.com/Rod-Persky/docker_scm-manager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rod-Persky/docker_scm-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rod-Persky%2Fdocker_scm-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rod-Persky%2Fdocker_scm-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rod-Persky%2Fdocker_scm-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rod-Persky%2Fdocker_scm-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rod-Persky","download_url":"https://codeload.github.com/Rod-Persky/docker_scm-manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rod-Persky%2Fdocker_scm-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32009240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":[],"created_at":"2024-11-29T23:11:58.707Z","updated_at":"2026-04-19T14:03:42.690Z","avatar_url":"https://github.com/Rod-Persky.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker: scm-manager\n\nSets up a container with scm-manager installed listening on port 8080.\n\n## Usage\n\nTo run the container, do the following:\n\n``` bash\ndocker run -d -v /home/repos:/root/.scm:rw -p 127.0.0.1:80:8080 rodpersky/docker-scm-manager\n```\n\nThis should download the image which has been uploaded to the docker index (pretty big?),\nand run it where its then accessable from `127.0.0.1` (localhost) and files are stored\nin /home/repos. The /home/repos should be replaced with a folder that exists and which\nyou want the repositiories to be kept in. _If you want the server to be globally accessible\nthen replace 127.0.0.1 with 0.0.0.0_. Once it is running you can check the process is up via:\n\n\n``` bash\ndocker ps\nID                  IMAGE                     COMMAND                CREATED\nSTATUS              PORTS\nf08460ebd8cc        rodpersky/docker-scm-manager:1.522   ./scm-server/bin/scm-server   20 minutes\n```\n\nOr something like that, the imporant bit is the image tagged `rodpersky/docker-scm-manager` is indeed\nthere. So now your scm-manager instance is available by going to `http://localhost:80` if not just check\nthat you ran docker using the invocation above.\n\n## Building\nTo build the image, instead of downloading it (which tends to be a bit large) simply run\n\n``` bash\ndocker build -t rodpersky/docker-scm-manager github.com/Rod-Persky/docker_scm-manager\n```\n\nIt's important to include the -t otherwise it becomes tricky to locate the image. Although\nwith regard to size the caviat in this case is that it's a prebuilt binary, so really it should be as large\nas the binary accessories. No time was spent to compile it.\n\n\n# Dockerfile Contents\n\nDockerfiles are pretty good at being their own documentation, however I don't expect you to\nread them and try to understand it. So I've attached the main comments below.\n\nFirst off we update the OS to ensure that the repository lists contain the correct file versions:\n\n``` bash\nRUN export version=$(cat /etc/lsb-release | grep DISTRIB_CODENAME=precise | cut -d '=' -f2) \u0026\u0026 \\\n    echo deb http://archive.ubuntu.com/ubuntu $version universe \u003e\u003e /etc/apt/sources.list \u0026\u0026 \\\n    echo deb http://archive.canonical.com/ $version partner \u003e\u003e /etc/apt/sources.list \u0026\u0026 \\\n    apt-get update\n```\n\nNext we install the nessesary components, the distribution supports Git, SVN and HG, so they\nare included\n\n``` bash\n#                To download SCM                                      For  Mercurial Plugin\n#    Install            |                          Mercurial SVN                |\n#       |               |                               |                       |\nRUN apt-get install -y wget openjdk-7-jre-headless mercurial git subversion python2.7\n#                                     |                       |       |\n#                                To run SCM                  GIT     SVN\n```\n\nFinally we install the program:\n\n``` bash\n# Install the program in one big step\nRUN  mkdir /usr/share/scm-manager \u0026\u0026 \\\n     cd /usr/share/scm-manager \u0026\u0026 \\\n     wget \nhttps://repository-scm-manager.forge.cloudbees.com/snapshot/sonia/scm/scm-server/1.36-SNAPSHOT/scm-server$\n     tar -xzf $(ls | grep \".gz\") \u0026\u0026 \\\n     rm $(ls | grep \".gz\")\n```\n\n# Interfacing\n\nSo there are two important interfaces, the web and the files. As for the files they are managed as:\n\n``` bash\n# Note I suggest to use /datay as the location where the repository files can be kept\n# as then you can use -b /home/repos:/data to bind the two filesystems together\n#                            |          |\n#                            |      SCM server\n#                       On your computer\n\nVOLUME [\"/data\"]\n\n# It is then easy to progress and import your own repositories following the scm layout of\n# data/hg    \u003c- storage of mercurial repositories\n#      git   \u003c- storage of git repositories\n#      svn   \u003c- storage of subversion repositories\n```\n\nThe web interface is managed in exactly the same way, however the default interface is used\nso it is connected simply though exposing it as an option. To connect to it, we still need\n`docker -p 127.0.0.1:80:8080`\n\n``` bash\nEXPOSE 8080\n```\n\nFinally there is the command that is launched by default, this is actually the part that we care about\nbut it's abstracted by docker so we only really have to punch in the docker parameters `docker -b`\n\n``` bash\nCMD [\"/usr/share/scm-manager/scm-server/bin/scm-server\"]\n```\n\nSo all up to run the program, as mentioned before, we have:\n\n``bash\ndocker run -b -p 127.0.0.1:80:8080 rodpersky/docker_scm-manager\n```\n\n# Maintainer (of this Dock)\n\n* Rodney Persky\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frod-persky%2Fdocker_scm-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frod-persky%2Fdocker_scm-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frod-persky%2Fdocker_scm-manager/lists"}