Skip to content
OpenAM buildfile for Docker
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
README.md
boot.json
context.xml Initial Feb 16, 2018
customize-am.sh
docker-entrypoint.sh Initial Feb 16, 2018
server.xml Initial Feb 16, 2018

README.md

AM Dockerfile

This is designed to be a flexible AM image that can be used in different deployment styles.

If you have an existing configuration store, you can configure AM to use it by creating an appropriate boot.json file with boot passwords stored in keystore.jceks.

Building

  • The Dockerfile assumes that the openam.war file is pre-downloaded in this directory.
$ docker build -t am-eval . 

followed by

$ docker run --name am-eval -p 8080:8080 -v $PWD/openam-configuration:/home/forgerock/openam/ am-eval 

Customizing the Web App

If you wish to customize the AM web app, there are two strategies that you can use:

  • Inherit FROM this image, and overlay your changes on /usr/local/tomcat/webapps/openam/
  • Before you start AM, dynamically copy in the changes. This is the strategy used in the Helm charts. Set the CUSTOMIZE_AM variable to the path to a customization script.
You can’t perform that action at this time.