diff --git a/Dockerfile b/Dockerfile index 6a352ff..16d8ed3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 # Manually add the json schemas for the receive V1 endpoint -RUN 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 +RUN if [ "$(uname -m)" = "x86_64" ]; then \ + 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