diff --git a/test/images/agnhost/Dockerfile b/test/images/agnhost/Dockerfile index 8ea15071d1c..6d0bbe04d81 100644 --- a/test/images/agnhost/Dockerfile +++ b/test/images/agnhost/Dockerfile @@ -55,5 +55,13 @@ ADD agnhost agnhost # entrypoint is used by the containers. RUN ln -s agnhost agnhost-2 +# this user and group is used in a E2E test case of +# SupplementalGroups with pre-defined group in the image +# - user-defined-in-image(uid=1000) +# - user-defined-in-image belongs to group-defined-in-image(gid=50000) +RUN adduser -u 1000 -D user-defined-in-image && \ + addgroup -g 50000 group-defined-in-image && \ + addgroup user-defined-in-image group-defined-in-image + ENTRYPOINT ["/agnhost"] CMD ["pause"] diff --git a/test/images/agnhost/VERSION b/test/images/agnhost/VERSION index 2a43146444b..7cd20263835 100644 --- a/test/images/agnhost/VERSION +++ b/test/images/agnhost/VERSION @@ -1 +1 @@ -2.42 +2.43