Merge pull request #771 from ucb-bar/update-dockerfiles

Update dockerfiles
This commit is contained in:
Abraham Gonzalez
2021-02-20 16:54:32 -08:00
committed by GitHub
9 changed files with 118 additions and 238 deletions

View File

@@ -18,6 +18,7 @@ sudo yum install -y centos-release-scl
sudo yum install -y devtoolset-8-make
# install DTC
sudo yum install -y dtc
sudo yum install -y python
# install verilator
git clone http://git.veripool.org/git/verilator

8
scripts/entrypoint.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# used with the dockerfile to set up enviroment variables by running env.sh
# adapted from https://stackoverflow.com/questions/55921914/how-to-source-a-script-with-environment-variables-in-a-docker-build-process
. /home/riscvuser/chipyard/env.sh
exec "$@"

View File

@@ -19,6 +19,7 @@ sudo apt-get install -y libgtk-3-dev gettext
sudo apt-get install -y python3-pip python3.6-dev rsync libguestfs-tools expat ctags
# install DTC
sudo apt-get install -y device-tree-compiler
sudo apt-get install -y python
# install verilator
git clone http://git.veripool.org/git/verilator