diff --git a/src/sbt-test/docker/override-commands/build.sbt b/src/sbt-test/docker/override-commands/build.sbt index 590f2b291..dbd54b1f9 100644 --- a/src/sbt-test/docker/override-commands/build.sbt +++ b/src/sbt-test/docker/override-commands/build.sbt @@ -9,7 +9,7 @@ version := "0.1.0" maintainer := "Gary Coady " dockerCommands := Seq( - Cmd("FROM", "dockerfile/openjdk:latest"), + Cmd("FROM", "openjdk:latest"), Cmd("MAINTAINER", maintainer.value), ExecCmd("CMD", "echo", "Hello, World from Docker") ) diff --git a/src/sphinx/formats/docker.rst b/src/sphinx/formats/docker.rst index 03f432ff3..2b7cf5c46 100644 --- a/src/sphinx/formats/docker.rst +++ b/src/sphinx/formats/docker.rst @@ -166,7 +166,7 @@ Docker Base Image .. code-block:: scala - dockerBaseImage := "dockerfile/openjdk" + dockerBaseImage := "openjdk" Docker Repository ~~~~~~~~~~~~~~~~~ @@ -210,7 +210,7 @@ In your sbt console type .. code-block:: bash > show dockerCommands - [info] List(Cmd(FROM,dockerfile/openjdk:latest), Cmd(MAINTAINER,Your Name ), ...) + [info] List(Cmd(FROM,openjdk:latest), Cmd(MAINTAINER,Your Name ), ...) @@ -278,7 +278,7 @@ Now let's start adding some Docker commands. import com.typesafe.sbt.packager.docker._ dockerCommands := Seq( - Cmd("FROM", "dockerfile/openjdk:latest"), + Cmd("FROM", "openjdk:latest"), Cmd("MAINTAINER", maintainer.value), ExecCmd("CMD", "echo", "Hello, World from Docker") )