Fix Dockerfile not working with runt cocotb tests
* Cocotb-bus is now built from github repo
LANG env variable is also set explicitly to be utf-8
* Fix calyx branch and reduce apt-get calls
@@ -9,10 +9,12 @@ RUN echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | tee /etc/ap
echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | tee /etc/apt/sources.list.d/sbt_old.list && \
curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add && \
apt-get update -y && \
- apt-get install -y jq python3.9 python3-pip sbt make autoconf g++ flex bison libfl2 libfl-dev default-jdk ninja-build build-essential cmake gperf
+ apt-get install -y jq python3.9 python3-pip sbt make autoconf g++ flex bison libfl2 libfl-dev default-jdk ninja-build build-essential cmake autoconf gperf
# Install python dependencies
-RUN python3 -m pip install numpy flit prettytable wheel hypothesis pytest simplejson cocotb
+RUN python3 -m pip install numpy flit prettytable wheel hypothesis pytest simplejson cocotb==1.6.2
+# Current cocotb-bus has a bug that is fixed in more up to date repo
+RUN python3 -m pip install git+https://github.com/cocotb/cocotb-bus.git cocotbext-axi
# Install Verilator
WORKDIR /home
@@ -82,3 +84,6 @@ WORKDIR /home/calyx/calyx-py
RUN FLIT_ROOT_INSTALL=1 flit install --symlink
WORKDIR /home/calyx
+
+# Used to make runt cocotb tests happy
+ENV LANG=C.UTF-8
