summaryrefslogtreecommitdiff
path: root/docker/biboumi-test/fedora
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-08-01 22:00:34 +0200
committerlouiz’ <louiz@louiz.org>2017-08-01 22:02:03 +0200
commit488c36f22e52b1b3f355af300c75cce201e3bc49 (patch)
treef1d2e850f39f9d92b6cf4af6fba33a4e8cf4cc2a /docker/biboumi-test/fedora
parent5f5789a0eddea7128c3b0da63e95301186c84856 (diff)
downloadbiboumi-488c36f22e52b1b3f355af300c75cce201e3bc49.tar.gz
biboumi-488c36f22e52b1b3f355af300c75cce201e3bc49.tar.bz2
biboumi-488c36f22e52b1b3f355af300c75cce201e3bc49.tar.xz
biboumi-488c36f22e52b1b3f355af300c75cce201e3bc49.zip
Docker: run the openssl commands as the tester user, for permission issues
Diffstat (limited to 'docker/biboumi-test/fedora')
-rw-r--r--docker/biboumi-test/fedora/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/biboumi-test/fedora/Dockerfile b/docker/biboumi-test/fedora/Dockerfile
index 384fd51..8ff418c 100644
--- a/docker/biboumi-test/fedora/Dockerfile
+++ b/docker/biboumi-test/fedora/Dockerfile
@@ -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