ci: alpine image, create the tls key with the correct user and permissions
This commit is contained in:
@@ -49,7 +49,8 @@ RUN git clone https://github.com/charybdis-ircd/charybdis.git && cd charybdis &&
|
|||||||
|
|
||||||
RUN chown -R tester:tester /home/tester/ircd
|
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
|
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
|
WORKDIR /home/tester
|
||||||
USER tester
|
|
||||||
|
|||||||
Reference in New Issue
Block a user