diff options
author | Samantha Sample <samsample@google.com> | 2019-08-05 17:18:51 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-08-05 17:20:05 -0700 |
commit | fb996668e40031671e08d107e1a5307e813215f9 (patch) | |
tree | cba2bce2e38dfbf97f56d42a5099b1e26bc3469f /test/runtimes/python | |
parent | 23e740433d6a92c06068923ab58232a19c7a5acb (diff) |
Alter Dockerfiles to include common.go and use a prebuilt JDK.
After the refactoring of the proctor binaries, the Dockerfiles for each
language must be altered to copy the common folder into their image.
Additionally, Java has been changed to use the pre-built version of
JDK-11 from Ubuntu, instead of building it from the source. This allows
for a smaller image and faster test execution within the container.
PiperOrigin-RevId: 261805158
Diffstat (limited to 'test/runtimes/python')
-rw-r--r-- | test/runtimes/python/Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/runtimes/python/Dockerfile b/test/runtimes/python/Dockerfile index 811f48f8a..710daee43 100644 --- a/test/runtimes/python/Dockerfile +++ b/test/runtimes/python/Dockerfile @@ -26,6 +26,7 @@ WORKDIR ${LANG_DIR} RUN ./configure --with-pydebug RUN make -s -j2 -COPY proctor-python.go ${LANG_DIR} +COPY common /root/go/src/gvisor.dev/gvisor/test/runtimes/common/common +COPY python/proctor-python.go ${LANG_DIR} ENTRYPOINT ["/root/go/bin/go", "run", "proctor-python.go"] |