Created
January 24, 2020 08:37
-
-
Save vadikgo/1d4a29153e43ba6c5b8589985352aaea to your computer and use it in GitHub Desktop.
Build on windows docker
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
| C:\Users\vad\dev\gpt-2>docker build --tag gpt-2 -f Dockerfile.cpu . | |
| Sending build context to Docker daemon 4.712MB | |
| Step 1/7 : FROM tensorflow/tensorflow:1.12.0-py3 | |
| ---> 39bcb324db83 | |
| Step 2/7 : ENV LANG=C.UTF-8 | |
| ---> Using cache | |
| ---> 6f94b464e517 | |
| Step 3/7 : RUN mkdir /gpt-2 | |
| ---> Using cache | |
| ---> 9cb7e44243ba | |
| Step 4/7 : WORKDIR /gpt-2 | |
| ---> Using cache | |
| ---> 3909ab4a3005 | |
| Step 5/7 : ADD . /gpt-2 | |
| ---> 5d218b8cf5fb | |
| Step 6/7 : RUN pip3 install -r requirements.txt | |
| ---> Running in bd6fff0c63d0 | |
| Collecting fire>=0.1.3 (from -r requirements.txt (line 1)) | |
| Downloading https://files.pythonhosted.org/packages/d9/69/faeaae8687f4de0f5973694d02e9d6c3eb827636a009157352d98de1129e/fire-0.2.1.tar.gz (76kB) | |
| Collecting regex==2017.4.5 (from -r requirements.txt (line 2)) | |
| Downloading https://files.pythonhosted.org/packages/36/62/c0c0d762ffd4ffaf39f372eb8561b8d491a11ace5a7884610424a8b40f95/regex-2017.04.05.tar.gz (601kB) | |
| Collecting requests==2.21.0 (from -r requirements.txt (line 3)) | |
| Downloading https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl (57kB) | |
| Collecting tqdm==4.31.1 (from -r requirements.txt (line 4)) | |
| Downloading https://files.pythonhosted.org/packages/6c/4b/c38b5144cf167c4f52288517436ccafefe9dc01b8d1c190e18a6b154cd4a/tqdm-4.31.1-py2.py3-none-any.whl (48kB) | |
| Requirement already satisfied: six in /usr/local/lib/python3.5/dist-packages (from fire>=0.1.3->-r requirements.txt (line 1)) (1.11.0) | |
| Requirement already satisfied: termcolor in /usr/local/lib/python3.5/dist-packages (from fire>=0.1.3->-r requirements.txt (line 1)) (1.1.0) | |
| Collecting chardet<3.1.0,>=3.0.2 (from requests==2.21.0->-r requirements.txt (line 3)) | |
| Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB) | |
| Collecting idna<2.9,>=2.5 (from requests==2.21.0->-r requirements.txt (line 3)) | |
| Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB) | |
| Collecting urllib3<1.25,>=1.21.1 (from requests==2.21.0->-r requirements.txt (line 3)) | |
| Downloading https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl (118kB) | |
| Collecting certifi>=2017.4.17 (from requests==2.21.0->-r requirements.txt (line 3)) | |
| Downloading https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl (156kB) | |
| Building wheels for collected packages: fire, regex | |
| Running setup.py bdist_wheel for fire: started | |
| Running setup.py bdist_wheel for fire: finished with status 'done' | |
| Stored in directory: /root/.cache/pip/wheels/31/9c/c0/07b6dc7faf1844bb4688f46b569efe6cafaa2179c95db821da | |
| Running setup.py bdist_wheel for regex: started | |
| Running setup.py bdist_wheel for regex: finished with status 'done' | |
| Stored in directory: /root/.cache/pip/wheels/75/07/38/3c16b529d50cb4e0cd3dbc7b75cece8a09c132692c74450b01 | |
| Successfully built fire regex | |
| Installing collected packages: fire, regex, chardet, idna, urllib3, certifi, requests, tqdm | |
| Successfully installed certifi-2019.11.28 chardet-3.0.4 fire-0.2.1 idna-2.8 regex-2017.4.5 requests-2.21.0 tqdm-4.31.1 urllib3-1.24.3 | |
| You are using pip version 18.1, however version 20.0.1 is available. | |
| You should consider upgrading via the 'pip install --upgrade pip' command. | |
| Removing intermediate container bd6fff0c63d0 | |
| ---> 733098348d3f | |
| Step 7/7 : RUN python3 download_model.py 124M | |
| ---> Running in b1dacbee98d4 | |
| Fetching checkpoint: 1.00kit [00:00, 480kit/s] | |
| Fetching encoder.json: 1.04Mit [00:01, 977kit/s] | |
| Fetching hparams.json: 1.00kit [00:00, 412kit/s] | |
| Fetching model.ckpt.data-00000-of-00001: 498Mit [01:41, 4.91Mit/s] | |
| Fetching model.ckpt.index: 6.00kit [00:00, 2.14Mit/s] | |
| Fetching model.ckpt.meta: 472kit [00:00, 600kit/s] | |
| Fetching vocab.bpe: 457kit [00:00, 464kit/s] | |
| Removing intermediate container b1dacbee98d4 | |
| ---> 9937b9838607 | |
| Successfully built 9937b9838607 | |
| Successfully tagged gpt-2:latest | |
| SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories. | |
| C:\Users\vad\dev\gpt-2>docker images | |
| REPOSITORY TAG IMAGE ID CREATED SIZE | |
| gpt-2 latest 9937b9838607 5 seconds ago 1.84GB | |
| <none> <none> 72e6d1dacd66 4 minutes ago 1.84GB | |
| tensorflow/tensorflow 1.12.0-py3 39bcb324db83 14 months ago 1.33GB | |
| C:\Users\vad\dev\gpt-2> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment