avro
avro copied to clipboard
AVRO-3857: [BUILD] Automate dist build
AVRO-3857
What is the purpose of the change
This PR aims to automate dist build. Currently, the dist build process is not fully automated especially the document.
With this change, you can build dist like as follows.
./build.sh docker-dist
Also, this PR includes a fix for building the document. You can confirm the document built by the command above like as follows.
# 1. Serve the doc
docker run -p 8080:80 --rm -v $(pwd)/build/staging-web/public:/usr/local/apache2/htdocs/ httpd:2.4
# 2. Then, access to http://localhost:8080
Verifying this change
Artifacts seem to be built successfully and stored in dist
Documentation
- Does this pull request introduce a new feature? (no)