diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2021-02-04 08:25:44 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-04 08:28:38 -0800 |
commit | fa2d3698c44c7a691dd438ce8a7f92789bd909d2 (patch) | |
tree | 1db23e9f90bc17cb1f11a1ba0237881a38f71cc3 /images/basic/integrationtest/Dockerfile.x86_64 | |
parent | f2c881f68498b542f21288559e3cb218673484f0 (diff) |
[infra] Do not recompile integration test executables each time.
Instead build the executable into the image.
PiperOrigin-RevId: 355631672
Diffstat (limited to 'images/basic/integrationtest/Dockerfile.x86_64')
-rw-r--r-- | images/basic/integrationtest/Dockerfile.x86_64 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/images/basic/integrationtest/Dockerfile.x86_64 b/images/basic/integrationtest/Dockerfile.x86_64 index e80e17527..b9fed05cb 100644 --- a/images/basic/integrationtest/Dockerfile.x86_64 +++ b/images/basic/integrationtest/Dockerfile.x86_64 @@ -5,3 +5,9 @@ COPY . . RUN chmod +x *.sh RUN apt-get update && apt-get install -y gcc iputils-ping iproute2 + +# Compilation Steps. +RUN gcc -O2 -o test_copy_up test_copy_up.c +RUN gcc -O2 -o test_rewinddir test_rewinddir.c +RUN gcc -O2 -o link_test link_test.c +RUN gcc -O2 -o test_sticky test_sticky.c |