Skip to content
This repository was archived by the owner on Jan 12, 2022. It is now read-only.

Commit 56e491b

Browse files
committed
update README and Dockerfile to reflect corrected release process
1 parent 7460fda commit 56e491b

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@ repository.
7373
- Copy the resulting tar.gz file to your application's folder, in the same
7474
directory as the Dockerfile.
7575
- Edit the Dockerfile in your application and look for the line that says
76-
`COPY (...) /home/vmagent/python-runtime.tar.gz`
77-
- Replace the URL in that line with the filename of your generated tar.gz file.
76+
`ADD (...) /home/vmagent/python-runtime.tar.gz`
77+
- Replace that line with a COPY command, with the filename of your generated
78+
tar.gz file instead of the URL as the source, and the same destination. An
79+
example is included in the Dockerfile comments.
7880
- Deploy your application. A warning during deployment where your tar.gz file is
7981
rejected for addition because it is too large can be ignored.
8082

multicore_runtime/dev/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ RUN apt-get -q update && \
55
python2.7 python-pip python-gevent python-greenlet && \
66
apt-get clean && rm /var/lib/apt/lists/*_*
77

8-
COPY https://github.com/GoogleCloudPlatform/appengine-python-vm-runtime/releases/download/0.1/python-runtime-0.1.tar.gz /home/vmagent/python-runtime.tar.gz
8+
ADD https://github.com/GoogleCloudPlatform/appengine-python-vm-runtime/releases/download/v0.1/appengine-python-vm-runtime-0.1.tar.gz /home/vmagent/python-runtime.tar.gz
9+
10+
# To use a custom-built version of the runtime, comment out the above ADD
11+
# command and instead use the following line:
12+
# COPY appengine-python-vm-runtime-0.1.tar.gz /home/vmagent/python-runtime.tar.gz
913

1014
RUN pip install --upgrade pip>=6.1.1 gunicorn==19.1.1
1115
RUN pip install /home/vmagent/python-runtime.tar.gz

0 commit comments

Comments
 (0)