NOTE: Change the SVN Repo URL in the Script according to your Repo URL.
This image is basically a CentOS image which has a couple of scripts to install Splunk and Splunk apps from the SVN repo.
The scripts are located in /root/ and the scripts are:
- splunk_local_installer which will install Splunk from the SVN.
- app_installer which will install Splunk apps located in the given SVN repo.
Also, the image has latest AppInspect installed in it. So you can perform AppInspect on your apps.
The Splunk will be installed with a developer trial license.
Feel free to analyze the scripts.
NOTE: This Image does not have preinstalled Splunk.
docker run -itd docker.io/dhruvpatel/splunk_app_installer:latest /bin/bash
docker exec <container_name> sh /root/splunk_local_installer.sh <folder_where_splunk_is_at> <splunk_version> <where_to_install_splunk> <SVN_username> <SVN_password> <SVN_IP> <restart_splunk>
docker exec <container_name> sh /root/app_installer.sh <folder_where_app_is_at> <app_version> <splunk_home_path> <SVN_username> <SVN_password> <SVN_IP> <restart_splunk>