Skip to content

5.0.0

Compare
Choose a tag to compare
@bibendi bibendi released this 24 Feb 10:28
de44ad2

Nothing changed from v5.0.0.rc1.

  • Added ConfigFinder to traverse parent directories (#79)
  • Added $DIP_WORK_DIR_REL_PATH special environment variable to change the working dir

Example:

dip.yml

environment:
  WORK_DIR: /app/${DIP_WORK_DIR_REL_PATH}

docker-compose.yml

services:
  app:
    working_dir: ${WORK_DIR:-/app}
  • Added an ability to add interaction commands coinciding with Ruby keywords
  • Added an ability to publish container's ports to the host
dip run -p 3000:3000 bundle exec rackup config.ru 
  • BREAKING: docker-compose config files paths now are relative to dip.yml directory, not to a working directory
gem install dip -v 5.0.0

or

curl -L https://github.com/bibendi/dip/releases/download/v5.0.0/dip-`uname -s`-`uname -m` > /usr/local/bin/dip
chmod +x /usr/local/bin/dip