The flex sdk is in /flex
You can either use this image in a Dockerfile and copy your files to the container
create a volume with your code in it
docker run -d -v /<mysrcdir>:/src eranchetz/flex-sdk
your code will be in the docker container at /src
you can run:
docker exec -ti eranchetz/flex-sdk bash
if you are using ANT ,you can build your code by setting FLEX_SDK in build.properties to /flex
then run ant build in the directory with build.xml
once the SWF / SWC is created you can pull it from the container by running :
docker cp <my.swf> .
please contact me if you need any assistant.