Updated docker image
This commit is contained in:
parent
6c3767a499
commit
541116faf5
11
Dockerfile
11
Dockerfile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue