Last active
April 3, 2019 22:14
-
-
Save liyuqian/137473688f5e8e42252407b3a7fd50bb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
:: Tested on a "Windows Server version 1803 Datacenter Core for Containers" | |
:: GCE VM. | |
:: | |
:: It's known that other versions such as 1809 and Windows Server 2019 won't | |
:: work with the Dockerfile. | |
:: | |
:: Do not run this bat directly from c:\Users\<username> (default directory | |
:: after RDP into the VM) as Docker may not have permission. Run it inside | |
:: a directory like c:\Users\<username>\windows_build. | |
:: TODO(liyuqian): replace the gist URL with the github repo URL after the PR is landed. | |
curl https://gist.githubusercontent.com/liyuqian/9e46ec651dfa54b405638fb3962200a5/raw/Dockerfile -o Dockerfile | |
docker pull gcr.io/flutter-cirrus/build-engine-image-windows:latest | |
docker build . -t gcr.io/flutter-cirrus/build-engine-image-windows:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment