You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, the default behaviour for the useradd directive actually changed between ubuntu 22 and ubuntu 23. Due to the rolling directive, v1.4.0 was built with ubuntu 22 and v1.4.1 was built with ubuntu 23
The interchaintest suite and subsequently the e2e's in ibc-go were expecting a user with uid/gid of 1000:1000 for hermes (default in ubuntu 22), but after the change to ubuntu 23 this broke:
Dockerfile
FROM ubuntu:latest
RUN apt-get -y update
RUN useradd -m appuser
USER appuser
build "22" with "ubuntu:latest"
build "23" with "ubuntu:rolling"
[user@user ~]$ docker run -it 22 bash
appuser@b4b1c6ff6e30:/$ id
uid=1000(appuser) gid=1000(appuser) groups=1000(appuser)
appuser@b4b1c6ff6e30:/$ exit
exit
[user@user ~]$ docker run -it 23 bash
appuser@a88909b10252:/$ id
uid=1001(appuser) gid=1001(appuser) groups=1001(appuser)
appuser@a88909b10252:/$ exit
exit
Proposal
Set the uid/gid of the user added so that these values do not accidentally change between releases and thus can be relied on as stable values for testing.
Acceptance Criteria
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate milestone (priority) applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
Summary
Specify uid/gid in the hermes.Dockerfile
Problem Definition
The Dockerfile uses "ubuntu:rolling"
Unfortunately, the default behaviour for the useradd directive actually changed between ubuntu 22 and ubuntu 23. Due to the rolling directive, v1.4.0 was built with ubuntu 22 and v1.4.1 was built with ubuntu 23
The interchaintest suite and subsequently the e2e's in ibc-go were expecting a user with uid/gid of 1000:1000 for hermes (default in ubuntu 22), but after the change to ubuntu 23 this broke:
Dockerfile
build "22" with "ubuntu:latest"
build "23" with "ubuntu:rolling"
Proposal
Set the uid/gid of the user added so that these values do not accidentally change between releases and thus can be relied on as stable values for testing.
Acceptance Criteria
For Admin Use
The text was updated successfully, but these errors were encountered: