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

Publish standalone/app as docker image #1506

Merged
merged 4 commits into from
Apr 7, 2021

Conversation

kdutkowski
Copy link
Contributor

No description provided.

Copy link
Member

@arkadius arkadius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work

}

lazy val distDockerSettings = {
val workingDir = "/opt/nussknacker"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

workingDir, defaultLinuxInstallLocation and exposedVolumes can be in common?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, after Arek's comments I added a /processes volume specific to standalone. So now exposedVolumes is not the same for both images. Plus I need workingDir to construct entrypoint path, which is specific for each image.

As for defaultLinuxInstallLocation it probably could, or even should be common. But it depends on workingDir, so I'd have to either make it a global constant in the file or define common settings as a function of workingDir instead of a simple Seq. Do you think it's worth it?

@kdutkowski kdutkowski force-pushed the preview/publish-standalone-docker-image branch from 4b15fcb to 7641471 Compare April 7, 2021 12:04
Copy link
Member

@arkadius arkadius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

3 participants