Skip to content

Commit d4374c4

Browse files
authored
test: use alpine for gvsior image in testdata (#21059)
* use alpine for gvsior image in testdata * remove dup copy leftover
1 parent 7d8d974 commit d4374c4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/integration/testdata/gvisor-addon-Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM ubuntu:18.04
16-
RUN apt-get update && \
17-
apt-get install -y kmod gcc wget xz-utils libc6-dev bc libelf-dev bison flex openssl libssl-dev libidn2-0 sudo libcap2 && \
18-
rm -rf /var/lib/apt/lists/*
15+
# Need an image with chroot
16+
FROM alpine:3
17+
RUN apk -U add ca-certificates
1918
COPY gvisor-addon /gvisor-addon
2019
CMD ["/gvisor-addon"]

0 commit comments

Comments
 (0)