Skip to content

Releases: JPZ13/dpm

Beta MVP Release

05 Sep 16:02
aabed21
Compare
Choose a tag to compare
Beta MVP Release Pre-release
Pre-release

Fixes the flags bug from the alpha release.

To install:

  • Copy the binary to wherever you keep binaries under the name dpm. For most systems, that will be /usr/local/bin/dpm
  • Append $HOME/.dpm/router to your PATH variable. This can be done in a bashrc/zshrc using the command export PATH=$HOME/.dpm/router:$PATH
  • You might additionally have to set the DOCKER_API_VERSION environment variable if your docker version is old.

Usage:
Add the following dpm.yml file to a folder:

commands:
  go:
    image: golang:1.7.5
    entrypoints:
      - go
    volume_name: go
  python:
    image: python:latest
    entrypoints:
      - python
      - pip
    volume_name: python

Then the following will work:
Screen Shot 2019-08-23 at 1 29 32 PM

Alpha MVP Release

23 Aug 17:23
e38acb4
Compare
Choose a tag to compare
Alpha MVP Release Pre-release
Pre-release

This is the MVP for the Docker Package Manager

Functionality:

  • Allow specifying a dpm.yml file
  • Has dpm activate and deactivate commands
  • Runs any entrypoints inside volume mounted containers within an activated directory and subdirectories
  • Defaults to system commands outside of activated directories

To install:

  • Copy the binary to wherever you keep binaries under the name dpm. For most systems, that will be /usr/local/bin/dpm
  • Append $HOME/.dpm/router to your PATH variable. This can be done in a bashrc/zshrc using the command export PATH=$HOME/.dpm/router:$PATH
  • You might additionally have to set the DOCKER_API_VERSION environment variable if your docker version is old.

Usage:
Add the following dpm.yml file to a folder:

commands:
  go:
    image: golang:1.7.5
    entrypoints:
      - go
    volume_name: go
  python:
    image: python:latest
    entrypoints:
      - python
      - pip
    volume_name: python

Then the following will work:
Screen Shot 2019-08-23 at 1 29 32 PM

Note: This is a Mac-only release. To work well, you will need to always specify entrypoints and unique volume names in each dpm file.