Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid build_images.sh script #79

Closed
fchauvel opened this issue Sep 30, 2019 · 0 comments
Closed

Invalid build_images.sh script #79

fchauvel opened this issue Sep 30, 2019 · 0 comments

Comments

@fchauvel
Copy link
Member

Characteristics

  • Issue Type: bug
  • Reproducibility: always
  • Severity: major
  • Tool/Service/Component: CAMP realize
  • Execution Environment:
    • Linux 4.9.0-8-amd64 (debian 9.8)
    • Python 3.5.3.final.0
    • Z3 4.7.1
    • Docker version 18.09.4, build d14af54
    • docker-compose version 1.23.0, build c8524dc1
  • Reporter: Franck Chauvel

Description

Following Issue #77 about recomposing software stacks, CAMP realize generate a wrong script when stacks have more than two levels. For instance on the modified Java example (see Issue #78), CAMP realize yields:

docker build -t camp-tomcat_0 ./tomcat_0
docker build -t camp-greetings_0 ./greetings_0
docker build -t camp-jre_0 ./jre_0
docker build -t camp-tomcat_0 ./tomcat_0
echo 'All images ready.'

Which is wrong, because, first we build multiple times the same image from the tomcat_0 sub-directory, but more important, because the order is incorrect. First, we should build the image camp-jre_0, then the camp-tomcat_0 and finally the camp-greeting_0.

Steps to reproduce

Other files and URLs

Relationships

Help on issue template

Preview to follow the link or open file .github/ISSUE_DOC.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant