mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-05-18 13:24:15 +00:00
Only build docs on x86_64
This commit is contained in:
parent
e0af0091c9
commit
e712494d7f
@ -154,8 +154,10 @@ RUN cd /tmp/signal-cli-rest-api-src/scripts && go build -o jsonrpc2-helper
|
|||||||
RUN cd /tmp/signal-cli-rest-api-src && go build -buildmode=plugin -o signal-cli-rest-api_plugin_loader.so plugin_loader.go
|
RUN cd /tmp/signal-cli-rest-api-src && go build -buildmode=plugin -o signal-cli-rest-api_plugin_loader.so plugin_loader.go
|
||||||
|
|
||||||
# Manually add the json schemas for the receive V1 endpoint
|
# Manually add the json schemas for the receive V1 endpoint
|
||||||
RUN cd /tmp/signal-cli-rest-api-src/src/docs \
|
RUN if [ "$(uname -m)" = "x86_64" ]; then \
|
||||||
&& go run update_receive_docs.go /tmp/signal-cli-${SIGNAL_CLI_VERSION}-source/build/generated/META-INF/schemas
|
cd /tmp/signal-cli-rest-api-src/src/docs \
|
||||||
|
&& go run update_receive_docs.go /tmp/signal-cli-${SIGNAL_CLI_VERSION}-source/build/generated/META-INF/schemas; \
|
||||||
|
fi;
|
||||||
|
|
||||||
# Start a fresh container for release container
|
# Start a fresh container for release container
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user