mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
Serves as a regression test for #8126. Our unit tests didn't catch the issue because they run runsc with the flag -TESTONLY-unsafe-nonroot. Docker tests are more e2e, they run tests in Docker containers. Fixes #8126 PiperOrigin-RevId: 488945922
15 lines
394 B
Docker
15 lines
394 B
Docker
FROM ubuntu:bionic
|
|
|
|
WORKDIR /root
|
|
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
|
|
RUN gcc -O2 -o host_fd host_fd.c
|
|
RUN gcc -O2 -o host_connect host_connect.c |