mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2026-02-12 02:24:42 +01:00
do not hardcode signal-cli-native for ARM, but download it from the repo instead
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -85,11 +85,11 @@ RUN if [ "$(uname -m)" = "x86_64" ]; then \
|
||||
&& echo "deb https://packaging.gitlab.io/signal-cli focal main" > /etc/apt/sources.list.d/morph027-signal-cli.list \
|
||||
&& mkdir -p /tmp/signal-cli-native \
|
||||
&& cd /tmp/signal-cli-native \
|
||||
&& wget https://gitlab.com/packaging/signal-cli/-/jobs/3716873649/artifacts/download?file_type=archive -O /tmp/signal-cli-native/archive.zip \
|
||||
&& unzip archive.zip \
|
||||
&& mv signal-cli-native-arm64/*deb . \
|
||||
#&& apt-get -qq update \
|
||||
#&& apt-get -qq download signal-cli-native=${SIGNAL_CLI_NATIVE_PACKAGE_VERSION} < /dev/null > /dev/null \
|
||||
#&& wget https://gitlab.com/packaging/signal-cli/-/jobs/3716873649/artifacts/download?file_type=archive -O /tmp/signal-cli-native/archive.zip \
|
||||
#&& unzip archive.zip \
|
||||
#&& mv signal-cli-native-arm64/*deb . \
|
||||
&& apt-get -qq update \
|
||||
&& apt-get -qq download signal-cli-native=${SIGNAL_CLI_NATIVE_PACKAGE_VERSION} < /dev/null > /dev/null \
|
||||
&& ar x *.deb \
|
||||
&& tar xf data.tar.gz \
|
||||
&& mkdir -p /tmp/signal-cli-${SIGNAL_CLI_VERSION}-source/build/native/nativeCompile \
|
||||
|
||||
Reference in New Issue
Block a user