Update the DockerFiles to include openssl
This commit is contained in:
@@ -50,13 +50,17 @@ RUN cd slixmpp && python3 setup.py build && python3 setup.py install
|
|||||||
RUN useradd tester -m
|
RUN useradd tester -m
|
||||||
|
|
||||||
# Install charybdis, for e2e tests
|
# 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 apt install -y libtool
|
||||||
RUN git clone https://github.com/charybdis-ircd/charybdis.git && cd charybdis
|
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 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 chown -R tester:tester /home/tester/ircd
|
||||||
RUN rm -rf /charybdis
|
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
|
ENV LC_ALL C.UTF-8
|
||||||
|
|
||||||
WORKDIR /home/tester
|
WORKDIR /home/tester
|
||||||
|
|||||||
@@ -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 chown -R tester:tester /home/tester/ircd
|
||||||
RUN rm -rf /charybdis
|
RUN rm -rf /charybdis
|
||||||
|
|
||||||
RUN su - tester -c "echo export LANG=en_GB.utf-8 >> /home/tester/.bashrc"
|
|
||||||
|
|
||||||
COPY coverity /home/tester/coverity
|
COPY coverity /home/tester/coverity
|
||||||
COPY sonar-scanner-2.8 /home/tester/sonar-scanner
|
COPY sonar-scanner-2.8 /home/tester/sonar-scanner
|
||||||
|
|
||||||
RUN dnf install -y which java-1.8.0-openjdk
|
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
|
ENV LC_ALL C.UTF-8
|
||||||
|
|
||||||
WORKDIR /home/tester
|
WORKDIR /home/tester
|
||||||
USER tester
|
USER tester
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user