summaryrefslogtreecommitdiff
path: root/docker/biboumi-test/debian
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/debian
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/debian')
-rw-r--r--docker/biboumi-test/debian/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/biboumi-test/debian/Dockerfile b/docker/biboumi-test/debian/Dockerfile
index 232a585..b11df96 100644
--- a/docker/biboumi-test/debian/Dockerfile
+++ b/docker/biboumi-test/debian/Dockerfile
@@ -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