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

Remove redundant docker file #1060

Closed
muuki88 opened this issue Nov 1, 2017 · 0 comments
Closed

Remove redundant docker file #1060

muuki88 opened this issue Nov 1, 2017 · 0 comments

Comments

@muuki88
Copy link
Contributor

muuki88 commented Nov 1, 2017

Expected behaviour

sbt docker:stage generates only one docker file.

Actual behaviour

Two files are generated:

tree target/docker
target/docker/
├── Dockerfile <---- here
└── stage
    ├── Dockerfile  <---- here
    └── opt
        └── docker
            ├── bin
            │   ├── docker-test
            │   └── docker-test.bat
            └── lib
                ├── docker-test.docker-test-0.1.0.jar

This causes a lot of confusion as in #1006

mrfyda added a commit to mrfyda/sbt-native-packager that referenced this issue Nov 4, 2017
muuki88 pushed a commit that referenced this issue Nov 5, 2017
* Remove redundant Dockerfile

Fixes #1060

* Update tests

* Change stage task to use dependsOn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant