I have something of a crush on Codenvy, the on-demand in-your-browser development environment. The main wrinkle I've encountered with Codenvy is that it is not easy to get a files out their hosted Docker environment.
I have a small batch process I have coded up. It is easy enough to pass in the input files. The process runs and produces a single Excel file as the output. The way I get at the output file is to set up the Docker runner so that it emails the results to my Gmail account.
Here at the steps:
Install Mutt and SSMPT in the Docker runner:
RUN sudo apt-get install -y mutt openssl ca-certificates ssmtp
Create an ssmpt.conf file in my Codenvy project. This file contains:
root=MY-GMAIL-EMAIL-ADDRESS
mailhub=smtp.gmail.com:587
rewriteDomain=
hostname=MY-GMAIL-EMAIL-ADDRESS
UseSTARTTLS=YES
AuthUser=MY-GMAIL-EMAIL-ADDRESS
AuthPass=MY-GMAIL-PASSWORD
FromLineOverride=YES
Add the config into the Docker runner:
COPY $src$/ssmtp.conf /etc/ssmtp/
Run the process to create the output file. Use this one-liner to email the results:
RUN echo Result attached. | mutt -s "Matching Results" MY-GMAIL-EMAIL-ADDRESS -a /home/user/output.xlsx