- Development Tools
- Build Within Docker Container
- Manual Installation of Development Tools
- Build Steps
If you would like to build your own copy of Athenz rather than using the pre-built binary packages, then here is the list of development tools you need to have installed on your system.
Build Within Docker Container¶
You can replicate the container environment that Athenz users within
Screwdriver to build and deploy Athenz packages. You can start a new
container using the
openjdk:8 image. Once you check out the Athenz
source tree, you can execute the
to install the required development tools:
$ git clone https://github.com/AthenZ/athenz.git $ cd athenz $ sh screwdriver/scripts/install_deps.sh
Manual Installation of Development Tools¶
Java Platform JDK 11¶
To build Athenz components, you must have Java Platform JDK 11 installed on your machine. The main authorization services - ZMS and ZTS, are written in Java and using embedded Jetty.
Make sure you have set the $JAVA_HOME environment variable.
To build Athenz components, change to the top level directory where you want to build the Athenz code and execute (skip the first command if you have already checked out the code using git):
$ git clone https://github.com/AthenZ/athenz.git $ cd athenz $ mvn clean install
The release packages will be created automatically in the