ci: alpine image, create the tls key with the correct user and permissions

This commit is contained in:
louiz’
2019-09-19 23:06:07 +02:00
parent 55e53852d7
commit 1ad4470567
+2 -1
View File
@@ -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