-
Notifications
You must be signed in to change notification settings - Fork 441
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
Replace deprecated java Docker container with openjdk (#877) #970
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,7 +151,7 @@ Docker Base Image | |
|
||
.. code-block:: scala | ||
|
||
dockerBaseImage := "dockerfile/java" | ||
dockerBaseImage := "dockerfile/openjdk" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. We need to remove the |
||
|
||
Docker Repository | ||
~~~~~~~~~~~~~~~~~ | ||
|
@@ -195,7 +195,7 @@ In your sbt console type | |
.. code-block:: bash | ||
|
||
> show dockerCommands | ||
[info] List(Cmd(FROM,dockerfile/java:latest), Cmd(MAINTAINER,Your Name <y.n@yourcompany.com>), ...) | ||
[info] List(Cmd(FROM,dockerfile/openjdk:latest), Cmd(MAINTAINER,Your Name <y.n@yourcompany.com>), ...) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And here |
||
|
||
|
||
|
||
|
@@ -260,7 +260,7 @@ Now let's start adding some Docker commands. | |
import com.typesafe.sbt.packager.docker._ | ||
|
||
dockerCommands := Seq( | ||
Cmd("FROM", "dockerfile/java:latest"), | ||
Cmd("FROM", "dockerfile/openjdk:latest"), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And here |
||
Cmd("MAINTAINER", maintainer.value), | ||
ExecCmd("CMD", "echo", "Hello, World from Docker") | ||
) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, sorry. I saw that afterwards. We need to remove the
dockerfile/
. I will do so and apply it to master and 1.1.xThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure I'm following, this is just a cherry-pick from master. There shouldn't be anything to apply on master, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess at the time of this commit
dockerfile/openjdk
was still valid. 🍒-picking was the write thing 😊There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the release