File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 11defmodule ExDockerBuild.CLI do
22 def main ( [ ] ) do
3- IO . puts "You forgot to pass the path to the Dockerfile"
3+ IO . puts ( "You forgot to pass the path to the Dockerfile" )
44 end
55
66 def main ( [ args | _ ] ) do
Original file line number Diff line number Diff line change @@ -227,6 +227,7 @@ defmodule ExDockerBuild.Integration.DockerBuildTest do
227227 capture_log ( fn ->
228228 assert { :ok , image_id } = DockerBuild . build ( instructions , "" )
229229 end )
230+
230231 assert log =~ "STEP 1/4 : FROM alpine:latest"
231232 assert log =~ "pulling image alpine:latest"
232233 assert log =~ "STEP 2/4 : ARG tag=\" latest\" "
@@ -248,6 +249,7 @@ defmodule ExDockerBuild.Integration.DockerBuildTest do
248249 capture_log ( fn ->
249250 assert { :ok , image_id } = DockerBuild . build ( instructions , "" )
250251 end )
252+
251253 assert log =~ "STEP 1/6 : FROM alpine:latest"
252254 assert log =~ "pulling image alpine:latest"
253255 assert log =~ "STEP 2/6 : ARG tag=\" latest\" "
You can’t perform that action at this time.
0 commit comments