Skip to content

Commit

Permalink
testuser universal for all containers
Browse files Browse the repository at this point in the history
  • Loading branch information
d-w-moore committed Aug 14, 2024
1 parent a1bc98e commit 2f3aefd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion irods/test/harness/000_install-irods.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ RUN for phase in initialize install-essential-packages add-package-repo; do \
done
RUN /install.sh 4
COPY start_postgresql_and_irods.sh /
RUN useradd -ms/bin/bash user
RUN apt install -y sudo
RUN useradd -ms/bin/bash testuser
RUN echo 'testuser ALL=(ALL) NOPASSWD: ALL' >>/etc/sudoers
RUN apt install -y faketime
CMD bash /start_postgresql_and_irods.sh
3 changes: 0 additions & 3 deletions irods/test/harness/002_ssl-and-pam.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
FROM bats-python3
RUN apt install -y sudo
RUN useradd -ms/bin/bash testuser
RUN echo 'testuser ALL=(ALL) NOPASSWD: ALL' >>/etc/sudoers

0 comments on commit 2f3aefd

Please sign in to comment.