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

Create Docker container from Dockerfile #2

Closed
lordofthejars opened this issue Oct 28, 2014 · 0 comments
Closed

Create Docker container from Dockerfile #2

lordofthejars opened this issue Oct 28, 2014 · 0 comments

Comments

@lordofthejars
Copy link
Member

Narrative:
As a developer
I want to be able to create a Docker container from Dockerfile
So that integration tests can run against a new created container

Acceptance Criteria:

Scenario1: A tar file with Dockerfile can be used for creating a new container containing an application server
Given Arquillian test
  And Docker Server installed and TCP port open
  And a Dockerfile file defining inside or any other parent container an application server
  And Arquillian remote adapter for application server
When Test is executed
Then New Docker container shall be created
  And Deployment file deployed inside Docker's application server

Scenario2: A tar file with Dockerfile can be loaded from URL.
Given a Dockerfile URL (file, http, classpath, ...)
When Test is executed
Then Docker container shall be created from Dockerfile provided by URL

Scenario3: A directory with Dockerfile  can be used for creating a new container containing an application server.
Given a Folder with Dockerfile on root
When Test is executed
Then Docker container shall be created from Dockerfile provided.

Scenario4: An exception is thrown if Dockerfile cannot be read
Given a Dockerfile
When Test is executed
Then An exception shall be thrown if Dockerfile is not readable
@aslakknutsen aslakknutsen modified the milestone: alpha1 Nov 12, 2014
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

2 participants