Created
February 28, 2018 02:54
-
-
Save mumoshu/45a34a2e1fa1ac6d32bd510acb4ee4a2 to your computer and use it in GitHub Desktop.
Since Docker version released Mar. 2017
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 characters
sh -c 'image=mytestimage; FTP_PROXY=$(dd if=/dev/zero of=output.dat bs=180k count=1 && cat output.dat | base64); secret=$FTP_PROXY; docker build --build-arg FTP_PROXY=$secret -t $image . && ! docker inspect $image | grep $secret && ! docker history $image | grep $secret' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment