From 16feed7e9e3c215625a62d444d7fa62c2a707c28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Sat, 24 Dec 2016 15:31:53 +0100 Subject: Update the DockerFiles to include openssl --- docker/biboumi-test/debian/Dockerfile | 6 +++++- docker/biboumi-test/fedora/Dockerfile | 5 ++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docker/biboumi-test/debian/Dockerfile b/docker/biboumi-test/debian/Dockerfile index 436cf9a..c6fc586 100644 --- a/docker/biboumi-test/debian/Dockerfile +++ b/docker/biboumi-test/debian/Dockerfile @@ -50,13 +50,17 @@ RUN cd slixmpp && python3 setup.py build && python3 setup.py install RUN useradd tester -m # Install charybdis, for e2e tests -RUN apt install -y automake autoconf flex bison libltdl-dev openssl zlib1g-dev +RUN apt install -y automake autoconf flex bison libltdl-dev openssl zlib1g-dev libssl-dev RUN apt install -y libtool RUN git clone https://github.com/charybdis-ircd/charybdis.git && cd charybdis RUN cd /charybdis && git checkout 4f2b9a4 && sed s/113/1113/ -i /charybdis/authd/providers/ident.c && ./autogen.sh && ./configure --prefix=/home/tester/ircd --bindir=/usr/bin && make -j8 && make install RUN chown -R tester:tester /home/tester/ircd RUN rm -rf /charybdis +RUN yes "" | openssl req -nodes -x509 -newkey rsa:4096 -keyout /home/tester/ircd/etc/ssl.key -out /home/tester/ircd/etc/ssl.pem + +RUN apt install -y curl + ENV LC_ALL C.UTF-8 WORKDIR /home/tester diff --git a/docker/biboumi-test/fedora/Dockerfile b/docker/biboumi-test/fedora/Dockerfile index e61cfe1..14e752f 100644 --- a/docker/biboumi-test/fedora/Dockerfile +++ b/docker/biboumi-test/fedora/Dockerfile @@ -57,15 +57,14 @@ RUN cd /charybdis && git checkout 4f2b9a4 && sed s/113/1113/ -i /charybdis/authd RUN chown -R tester:tester /home/tester/ircd RUN rm -rf /charybdis -RUN su - tester -c "echo export LANG=en_GB.utf-8 >> /home/tester/.bashrc" - COPY coverity /home/tester/coverity COPY sonar-scanner-2.8 /home/tester/sonar-scanner RUN dnf install -y which java-1.8.0-openjdk +RUN yes "" | openssl req -nodes -x509 -newkey rsa:4096 -keyout /home/tester/ircd/etc/ssl.key -out /home/tester/ircd/etc/ssl.pem + ENV LC_ALL C.UTF-8 WORKDIR /home/tester USER tester - -- cgit v1.2.3