Compare commits
3 Commits
fix/client
...
build/mult
| Author | SHA1 | Date | |
|---|---|---|---|
| 886372caac | |||
| 0b0b02d6e0 | |||
| d748ffc527 |
@@ -5,6 +5,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
autoconf \
|
autoconf \
|
||||||
autoconf-archive \
|
autoconf-archive \
|
||||||
automake \
|
automake \
|
||||||
|
ca-certificates \
|
||||||
expect \
|
expect \
|
||||||
gcc \
|
gcc \
|
||||||
git \
|
git \
|
||||||
@@ -36,7 +37,7 @@ RUN mkdir -p /usr/src/{stabber,libstrophe,profanity}
|
|||||||
WORKDIR /usr/src
|
WORKDIR /usr/src
|
||||||
|
|
||||||
#RUN git clone https://github.com/boothj5/stabber
|
#RUN git clone https://github.com/boothj5/stabber
|
||||||
RUN git clone -c http.sslverify=false https://github.com/strophe/libstrophe
|
RUN git clone --depth 1 https://git.jabber.space/devs/libstrophe-gh.git libstrophe
|
||||||
|
|
||||||
#WORKDIR /usr/src/stabber
|
#WORKDIR /usr/src/stabber
|
||||||
#RUN ./bootstrap.sh
|
#RUN ./bootstrap.sh
|
||||||
@@ -47,7 +48,7 @@ RUN git clone -c http.sslverify=false https://github.com/strophe/libstrophe
|
|||||||
WORKDIR /usr/src/libstrophe
|
WORKDIR /usr/src/libstrophe
|
||||||
RUN ./bootstrap.sh
|
RUN ./bootstrap.sh
|
||||||
RUN ./configure --prefix=/usr
|
RUN ./configure --prefix=/usr
|
||||||
RUN make
|
RUN make -j$(nproc)
|
||||||
RUN make install
|
RUN make install
|
||||||
|
|
||||||
WORKDIR /usr/src/profanity
|
WORKDIR /usr/src/profanity
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ RUN dnf install -y \
|
|||||||
autoconf-archive \
|
autoconf-archive \
|
||||||
automake \
|
automake \
|
||||||
awk \
|
awk \
|
||||||
|
ca-certificates \
|
||||||
expect-devel \
|
expect-devel \
|
||||||
gcc \
|
gcc \
|
||||||
git \
|
git \
|
||||||
@@ -56,11 +57,11 @@ WORKDIR /usr/src
|
|||||||
|
|
||||||
WORKDIR /usr/src
|
WORKDIR /usr/src
|
||||||
RUN mkdir -p /usr/src/libstrophe
|
RUN mkdir -p /usr/src/libstrophe
|
||||||
RUN git clone -c http.sslverify=false https://github.com/strophe/libstrophe
|
RUN git clone --depth 1 https://git.jabber.space/devs/libstrophe-gh.git libstrophe
|
||||||
WORKDIR /usr/src/libstrophe
|
WORKDIR /usr/src/libstrophe
|
||||||
RUN ./bootstrap.sh
|
RUN ./bootstrap.sh
|
||||||
RUN ./configure --prefix=/usr
|
RUN ./configure --prefix=/usr
|
||||||
RUN make
|
RUN make -j$(nproc)
|
||||||
RUN make install
|
RUN make install
|
||||||
|
|
||||||
RUN mkdir -p /usr/src/profanity
|
RUN mkdir -p /usr/src/profanity
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
autoconf \
|
autoconf \
|
||||||
autoconf-archive \
|
autoconf-archive \
|
||||||
automake \
|
automake \
|
||||||
|
ca-certificates \
|
||||||
expect \
|
expect \
|
||||||
gcc \
|
gcc \
|
||||||
git \
|
git \
|
||||||
@@ -37,7 +38,7 @@ RUN mkdir -p /usr/src/{stabber,libstrophe,profanity}
|
|||||||
WORKDIR /usr/src
|
WORKDIR /usr/src
|
||||||
|
|
||||||
#RUN git clone https://github.com/boothj5/stabber
|
#RUN git clone https://github.com/boothj5/stabber
|
||||||
RUN git clone -c http.sslverify=false https://github.com/strophe/libstrophe
|
RUN git clone --depth 1 https://git.jabber.space/devs/libstrophe-gh.git libstrophe
|
||||||
|
|
||||||
# TODO: Re-enable once libmicrohttpd-dev has been updated.
|
# TODO: Re-enable once libmicrohttpd-dev has been updated.
|
||||||
#WORKDIR /usr/src/stabber
|
#WORKDIR /usr/src/stabber
|
||||||
@@ -49,7 +50,7 @@ RUN git clone -c http.sslverify=false https://github.com/strophe/libstrophe
|
|||||||
WORKDIR /usr/src/libstrophe
|
WORKDIR /usr/src/libstrophe
|
||||||
RUN ./bootstrap.sh
|
RUN ./bootstrap.sh
|
||||||
RUN ./configure --prefix=/usr
|
RUN ./configure --prefix=/usr
|
||||||
RUN make
|
RUN make -j$(nproc)
|
||||||
RUN make install
|
RUN make install
|
||||||
|
|
||||||
WORKDIR /usr/src/profanity
|
WORKDIR /usr/src/profanity
|
||||||
|
|||||||
@@ -121,11 +121,11 @@ esac
|
|||||||
case "$ARCH" in
|
case "$ARCH" in
|
||||||
linux*)
|
linux*)
|
||||||
echo
|
echo
|
||||||
echo "--> Building with ./configure ${tests[0]} --enable-valgrind $*"
|
echo "--> Building with ./configure -C ${tests[0]} --enable-valgrind $*"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
./configure ${tests[0]} --enable-valgrind $*
|
./configure -C ${tests[0]} --enable-valgrind $*
|
||||||
|
|
||||||
$MAKE CC="${CC}"
|
$MAKE CC="${CC}"
|
||||||
if grep '^ID=' /etc/os-release | grep -q -e debian; then
|
if grep '^ID=' /etc/os-release | grep -q -e debian; then
|
||||||
@@ -140,11 +140,11 @@ esac
|
|||||||
for features in "${tests[@]}"
|
for features in "${tests[@]}"
|
||||||
do
|
do
|
||||||
echo
|
echo
|
||||||
echo "--> Building with ./configure ${features} $*"
|
echo "--> Building with ./configure -C ${features} $*"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
./configure $features $*
|
./configure -C $features $*
|
||||||
|
|
||||||
$MAKE CC="${CC}"
|
$MAKE CC="${CC}"
|
||||||
$MAKE check
|
$MAKE check
|
||||||
|
|||||||
Reference in New Issue
Block a user