summaryrefslogtreecommitdiff
path: root/docker/biboumi-test/alpine/Dockerfile
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2019-09-19 23:06:07 +0200
committerlouiz’ <louiz@louiz.org>2019-09-19 23:06:07 +0200
commit1ad4470567ed31d4bbb29ddeeb83c8392c12887a (patch)
tree6f879715fdb90665eddcb6a91a87c46cd94a4eb4 /docker/biboumi-test/alpine/Dockerfile
parent55e53852d7f6a972e8cbef97ad7a9881f0b2f319 (diff)
downloadbiboumi-1ad4470567ed31d4bbb29ddeeb83c8392c12887a.tar.gz
biboumi-1ad4470567ed31d4bbb29ddeeb83c8392c12887a.tar.bz2
biboumi-1ad4470567ed31d4bbb29ddeeb83c8392c12887a.tar.xz
biboumi-1ad4470567ed31d4bbb29ddeeb83c8392c12887a.zip
ci: alpine image, create the tls key with the correct user and permissions
Diffstat (limited to 'docker/biboumi-test/alpine/Dockerfile')
-rw-r--r--docker/biboumi-test/alpine/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/biboumi-test/alpine/Dockerfile b/docker/biboumi-test/alpine/Dockerfile
index 6ba0a3e..9d59c32 100644
--- a/docker/biboumi-test/alpine/Dockerfile
+++ b/docker/biboumi-test/alpine/Dockerfile
@@ -49,7 +49,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
+