Skip to content

Commit 21ce0ff

Browse files
committed
testuser universal for all containers
1 parent a9c2d75 commit 21ce0ff

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

irods/test/harness/000_install-irods.Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ RUN for phase in initialize install-essential-packages add-package-repo; do \
77
done
88
RUN /install.sh 4
99
COPY start_postgresql_and_irods.sh /
10-
RUN useradd -ms/bin/bash user
10+
RUN apt install -y sudo
11+
RUN useradd -ms/bin/bash testuser
12+
RUN echo 'testuser ALL=(ALL) NOPASSWD: ALL' >>/etc/sudoers
1113
RUN apt install -y faketime
1214
CMD bash /start_postgresql_and_irods.sh
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
11
FROM bats-python3
2-
RUN apt install -y sudo
3-
RUN useradd -ms/bin/bash testuser
4-
RUN echo 'testuser ALL=(ALL) NOPASSWD: ALL' >>/etc/sudoers

0 commit comments

Comments
 (0)