We here at FlashPCB are using this container to convert .brd
files to Gerber files using a CAMJOB. Eagle allows CAMJOBs to run via a command line interface. However, every new installation of Eagle needs to be opened once via the GUI so that you can enter your license information. This docker container is equipped with VNC capabilities so that one can view the Eagle GUI.
Autodesk EAGLE (formerly by CadSoft) is popular PCB design software, with a schematic editor, extensive part libraries, PCB layout editor, track auto-routing and more.
EAGLE is available under both freeware and commercial licenses using a license key file.
This repository packages the latest (at commit time) 64-bit Linux release of EAGLE in a Docker container.
First install docker (see Docker Installation )
Download https://www.autodesk.com/eagle-download-lin into this directory
Then to build this image and send it to the repository, use:
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com
docker build -t eagle .
docker tag eagle:latest $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/eagle:latest
docker tag eagle:9.6.2 $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/eagle:9.6.2
docker push $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/eagle:latest
docker push $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/eagle:9.6.2
EAGLE is graphical software and the container runs a VNC server on container port 5901.
To run the container:
docker run -p 32768:5901 -t -i nickandrew/eagle
This will make the VNC server visible on localhost port 32768. Next, run a VNC client:
On MacOS you can open spotlight and enter vnc://0.0.0.0:32768
to get on the container.
Or something like this might work.
xtigervncviewer -SecurityTypes VncAuth 0.0.0.0:32768
VNC requires a password. A default password of "abcd1234" is built into the container.
The viewer window will open, with EAGLE already running and (the first time it is run) asking for a license key. Choose "Freeware" to start using EAGLE as freeware. Or, if you have a commercial or trial key from Autodesk, you'll need to copy that key into your container.
All processes inside the container run as user 'user', with disabled password and a home directory built into the container. To use persistent storage for your EAGLE projects, use a volume mount over /home/user/eagle like this:
docker run -p 32768:5901 -v /my/eagle/directory:/home/user/eagle -i nickandrew/eagle