Created
February 12, 2018 23:41
Revisions
-
noelbundick created this gist
Feb 12, 2018 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ FROM alpine COPY install.sh / CMD /bin/sh -c '/install.sh';'/bin/sh' This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ echo "setup ran" This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ noel@nobun-book:~/code/temp-azurecli$ docker build -t temp . Sending build context to Docker daemon 3.072kB Step 1/3 : FROM alpine ---> 3fd9065eaf02 Step 2/3 : COPY install.sh / ---> Using cache ---> ff20fe92aabc Step 3/3 : CMD /bin/sh -c '/install.sh';'/bin/sh' ---> Using cache ---> a8445ca3beb2 Successfully built a8445ca3beb2 Successfully tagged temp:latest noel@nobun-book:~/code/temp-azurecli$ docker run -it temp setup ran / #