OpenTOSCA / opentosca-docker

Docker Compose for running OpenTOSCA
MIT License
26 stars 17 forks source link

Enable setting git repositories in docker files for opentosca components #2

Closed nyuuyn closed 6 years ago

nyuuyn commented 7 years ago

it would be nice if we could set the opentosca repositories so we can build and run the system components from local repos or other forks by just changing docker files.

miwurster commented 7 years ago

Hey @nyuuyn, with the latest improvements you now can build a dev version of your current working copy. For example, let's say we wanna test a new feature developed for the container component. You can then execute the following command in order to build a custom dev image:

docker build -t opentosca/container:dev .

Afterwards, we can modify the docker-compose.yml to use this custom built image:

  container:
    image: opentosca/container:dev
    ports:
      - '1337:1337'
    networks:
      - opentosca

Cheers, Michael

miwurster commented 6 years ago

@nyuuyn Is this still an issue or can this be closed? ;-)