{"id":19063339,"url":"https://github.com/fermayo/dpm","last_synced_at":"2025-07-10T08:34:49.283Z","repository":{"id":57526057,"uuid":"83148511","full_name":"fermayo/dpm","owner":"fermayo","description":"[POC] Use docker containers to use any development tool for your project","archived":false,"fork":false,"pushed_at":"2019-04-05T20:35:11.000Z","size":228,"stargazers_count":21,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-27T06:32:15.347Z","etag":null,"topics":["docker"],"latest_commit_sha":null,"homepage":"","language":"Go","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/fermayo.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":"2017-02-25T17:19:50.000Z","updated_at":"2023-07-27T10:52:52.000Z","dependencies_parsed_at":"2022-09-26T18:11:07.429Z","dependency_job_id":null,"html_url":"https://github.com/fermayo/dpm","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/fermayo/dpm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fermayo%2Fdpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fermayo%2Fdpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fermayo%2Fdpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fermayo%2Fdpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fermayo","download_url":"https://codeload.github.com/fermayo/dpm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fermayo%2Fdpm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264551654,"owners_count":23626536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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"],"created_at":"2024-11-09T00:33:47.671Z","updated_at":"2025-07-10T08:34:49.264Z","avatar_url":"https://github.com/fermayo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dpm\n\nWouldn't it be great if the only tool you need to start developing on any project is just _Docker_?\n\n## Installation\n\nInstall Docker. Then:\n\n    curl -L \"https://github.com/fermayo/dpm/releases/download/0.2.2/dpm-$(uname -s)-$(uname -m)\" -o /usr/local/bin/dpm; chmod +x /usr/local/bin/dpm\n\nAnd add `~/.dpm` to your `$PATH`. For example, for `bash`:\n\n    echo \"export PATH=\\$PATH:$HOME/.dpm\" \u003e\u003e ~/.bashrc\n\nIf you want project commands installed with `dpm` to override system commands (be careful!), use the following instead:\n\n    echo \"export PATH=$HOME/.dpm:\\$PATH\" \u003e\u003e ~/.bashrc\n\n\n## Usage\n\n### Defining commands for your project\n\nAdd a file called `dpm.yml` to your project root defining the commands you want to use for development. For example:\n\n```yaml\ncommands:\n  go:\n    image: golang:1.7.5\n    context: /go/src/github.com/fermayo/dpm\n\n  glide:\n    image: dockerepo/glide\n```\n\nThese are container definitions with a syntax similar to Compose. The following defaults will apply:\n* The entrypoint of the container defaults to the command name\n* The current folder is mounted read/write to `context` (default: `/run/context`)\n* The working directory defaults to `context` (default: `/run/context`)\n* Containers are deleted after execution (`--rm`)\n* They are run in interactive mode (`-i`) and with tty enabled (`-t`)\n\nYou can override these or define any other container attributes.\n\nCurrently only the following attributes are supported: `image`, `entrypoint`, `context`, `volumes`.\n\n### Installing commands\n\nExecute:\n\n    dpm install\n    \nand it will create all command aliases in `.dpm/`. Run it every time you update `dpm.yml`.\n\n\n### Using project commands\n\nFrom the project root, run the following to enable its installed commands:\n\n    dpm activate\n\nThen, just execute them as if they were installed in your OS:\n\n    $ go version\n    go version go1.7.5 linux/amd64\n\nYou can also list which commands are currently available by running:\n\n    dpm list\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffermayo%2Fdpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffermayo%2Fdpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffermayo%2Fdpm/lists"}