diff options
| author | mo khan <mo.khan@gmail.com> | 2019-08-22 11:54:58 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2019-08-22 11:54:58 -0600 |
| commit | f18510931631146f25e6d5c5dc010edee9ad3e3a (patch) | |
| tree | 6cf1d9718e2b6581bd97cac48333f067611a63e3 /bin/docker-dotenv | |
| parent | cc75be07e97c73ab7da419912abbc123c756312d (diff) | |
print temporary dockerfile content
Diffstat (limited to 'bin/docker-dotenv')
| -rwxr-xr-x | bin/docker-dotenv | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/docker-dotenv b/bin/docker-dotenv index 3bc9818..5f4b96c 100755 --- a/bin/docker-dotenv +++ b/bin/docker-dotenv @@ -19,6 +19,12 @@ while IFS= read -r line; do echo "ENV $line" >> $DOCKERFILE done < $DOTENV +echo "Pulling... $SOURCE_IMAGE" docker pull $SOURCE_IMAGE + +echo "Building... $DOCKERFILE" +cat $DOCKERFILE docker build -t $TARGET_IMAGE -f $DOCKERFILE . + +echo "Verifying env..." docker run $TARGET_IMAGE env |
