Simplify how patches are applied
This commit is contained in:
parent
340b1722c6
commit
4a3302f35f
2 changed files with 1 additions and 7 deletions
|
@ -1,6 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
for patch in /tmp/signal-server-patches/*.patch; do
|
||||
echo "patch -p1 < ${patch}"
|
||||
patch -p1 < "${patch}"
|
||||
done
|
|
@ -11,7 +11,7 @@ RUN apt-get install -y openjdk-11-jdk-headless maven git
|
|||
RUN git -C /usr/local/src clone https://github.com/signalapp/Signal-Server
|
||||
WORKDIR /usr/local/src/Signal-Server
|
||||
COPY signal-server-patches /tmp/signal-server-patches
|
||||
RUN /tmp/signal-server-patches/apply-patches.sh
|
||||
RUN cat /tmp/signal-server-patches/*.patch | patch -p1
|
||||
RUN mvn install -DskipTests
|
||||
|
||||
FROM debian:buster
|
||||
|
|
Loading…
Reference in a new issue