test: use alpine for gvsior image in testdata (#21059)

* use alpine for gvsior image in testdata

* remove dup copy leftover
pull/21063/head
Medya Ghazizadeh 2025-07-14 14:02:47 -07:00 committed by GitHub
parent 7d8d9741db
commit d4374c42b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 4 deletions

View File

@ -12,9 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM ubuntu:18.04
RUN apt-get update && \
apt-get install -y kmod gcc wget xz-utils libc6-dev bc libelf-dev bison flex openssl libssl-dev libidn2-0 sudo libcap2 && \
rm -rf /var/lib/apt/lists/*
# Need an image with chroot
FROM alpine:3
RUN apk -U add ca-certificates
COPY gvisor-addon /gvisor-addon
CMD ["/gvisor-addon"]