https://github.com/phrb/legup-dockerfile
https://github.com/phrb/legup-dockerfile
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/phrb/legup-dockerfile
- Owner: phrb
- Created: 2016-06-21T20:15:30.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-04-02T18:52:48.000Z (about 5 years ago)
- Last Synced: 2025-04-15T03:04:41.033Z (about 1 year ago)
- Size: 6.84 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### LegUp Docker Image
This repository contains a Dockerfile to generate an image with a LegUp
installation, including Altera Quartus Prime and GXemul. There is also
a lighter version including only LegUp.
##### Running the Dockerfile
The final image is **25GB**, larger than the default Docker device size.
It is necessary to increase Docker's devicemapper base size. The
following procedure increases the base size and builds the image,
**but it also wipes out your Docker images and containers** so
**backup any important files**.
```
sudo systemctl stop docker
sudo rm -rf /var/lib/docker
sudo docker daemon --storage-opt dm.basesize=30G
sudo systemctl start docker
sudo docker build .
```
Check [these Docker
docs](https://docs.docker.com/engine/reference/commandline/dockerd/#storage-driver-options)
for more information.
The Dockerfile will download large files, of up to **6.5GB**,
so a good internet connection is required. The full build
takes approximately **4h**.