Table of Contents

About

This is a Docker build for the Corrade scripted agent. There exists an official container of Corrade that is online on the Docker HUB.

Filesystem Layout

.
├── Dockerfile
└── rootfs
    └── usr
        └── local
            └── bin
                └── run

5 directories, 2 files

Dockerfile

Unable to display file "https://svn.grimore.org/docker/build/corrade/Dockerfile": It may not exist, or permission may be denied.

Files

Here are the files associated with this Corrade build.

run

#!/usr/bin/bash
 
# create a directory that will be mountable as a regular Docker volume
mkdir -p /etc/corrade
 
# now pivot user-editable files as a symlink into the Docker mountable volume directory
 
if [ ! -f /etc/corrade/CorradeConfiguration.xml ]; then
    cp /corrade/CorradeConfiguration.xml.default /etc/corrade/CorradeConfiguration.xml    
fi
ln -sf /etc/corrade/CorradeConfiguration.xml /corrade/CorradeConfiguration.xml
 
if [ ! -f /etc/corrade/NucleusConfiguration.xml ]; then
    cp /corrade/NucleusConfiguration.xml.default /etc/corrade/NucleusConfiguration.xml    
fi
ln -sf /etc/corrade/NucleusConfiguration.xml /corrade/NucleusConfiguration.xml
 
if [ ! -f /etc/corrade/Log4Net.config ]; then
    cp /corrade/Log4Net.config.default /etc/corrade/Log4Net.config    
fi
ln -sf /etc/corrade/Log4Net.config /corrade/Log4Net.config
 
/corrade/Corrade