~singpolyma/biboumi

488c36f22e52b1b3f355af300c75cce201e3bc49 ā€” louizā€™ 5 years ago 5f5789a
Docker: run the openssl commands as the tester user, for permission issues
2 files changed, 4 insertions(+), 2 deletions(-)

M docker/biboumi-test/debian/Dockerfile
M docker/biboumi-test/fedora/Dockerfile
M docker/biboumi-test/debian/Dockerfile => docker/biboumi-test/debian/Dockerfile +2 -1
@@ 54,7 54,8 @@ RUN git clone https://github.com/charybdis-ircd/charybdis.git && cd charybdis &&

RUN chown -R tester:tester /home/tester/ircd

USER tester

RUN yes "" | openssl req -nodes -x509 -newkey rsa:4096 -keyout /home/tester/ircd/etc/ssl.key -out /home/tester/ircd/etc/ssl.pem

WORKDIR /home/tester
USER tester

M docker/biboumi-test/fedora/Dockerfile => docker/biboumi-test/fedora/Dockerfile +2 -1
@@ 54,9 54,10 @@ RUN git clone https://github.com/charybdis-ircd/charybdis.git && cd charybdis &&

RUN chown -R tester:tester /home/tester/ircd

USER tester

RUN yes "" | openssl req -nodes -x509 -newkey rsa:4096 -keyout /home/tester/ircd/etc/ssl.key -out /home/tester/ircd/etc/ssl.pem

COPY coverity /home/tester/coverity

WORKDIR /home/tester
USER tester