Updated docker image

This commit is contained in:
Ganesh Gore 2023-02-12 11:50:11 -07:00
parent 6c3767a499
commit 541116faf5
2 changed files with 13 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM ghcr.io/lnis-uofu/openfpga-master:10ffa828
FROM ghcr.io/lnis-uofu/openfpga-master:9e4936f9
# Install node js
USER root
@ -6,10 +6,19 @@ RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN curl -fsSL https://code-server.dev/install.sh | sh
RUN apt-get install -y nodejs
RUN apt-get install tree
# = = = = = = = VSCODE Extension installation = = = = = = =
# Python support in vscode
RUN code-server --install-extension ms-python.python
# For CSV file alignment
RUN code-server --install-extension mechatroner.rainbow-csv
# For VCD Viewer
RUN code-server --install-extension wavetrace.wavetrace
# For XML Linting
RUN code-server --install-extension dotjoshjohnson.xml
# For git graphs
RUN code-server --install-extension mhutchie.git-graph
# = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
RUN usermod -u 2000 openfpga_user
RUN groupmod -g 2000 openfpga_user

View File

@ -42,8 +42,9 @@ create-task () {
fi
template="template_tasks/yosys_vpr_template"
if [ ${#2} -ge 1 ]; then
if [[ "$2" == "vpr_blif" ]]; then template="template_tasks/${2}_template/";
elif [[ "$2" == "yosys_vpr" ]]; then template="template_tasks/${2}_template/";
if [[ "$2" == "fabric_netlist_gen" ]]; then template="template_tasks/${2}_template/";
elif [[ "$2" == "fabric_verification" ]]; then template="template_tasks/${2}_template/";
elif [[ "$2" == "frac-lut-arch-explore" ]]; then template="template_tasks/${2}_template/";
elif [[ "$2" == "vtr_benchmarks" ]]; then template="template_tasks/${2}_template/";
else template="$2"
fi