This commit is contained in:
2026-06-17 22:42:14 +02:00
parent 0dbbcce227
commit c7d86956f2
11 changed files with 853 additions and 1 deletions

View File

@ -6,7 +6,7 @@ RUN apt install -y \
tar
RUN wget "https://cdn.gowinsemi.com.cn/Gowin_V1.9.11.03_Education_Linux.tar.gz" -O gowin.tar.gz
RUN tar --exclude='Programmer/doc/*' -xvzf gowin.tar.gz
RUN tar -xvzf gowin.tar.gz
RUN rm -f IDE/lib/libfreetype.so.6
RUN rm -f gowin.tar.gz
@ -25,3 +25,22 @@ RUN apt install -y \
libasound2 \
libgssapi-krb5-2 \
libglib2.0-0
RUN apt install -y zip
RUN wget "https://github.com/zachjs/sv2v/releases/download/v0.0.13/sv2v-Linux.zip" -O sv2v.zip
RUN unzip sv2v.zip
RUN mv sv2v-Linux/sv2v /usr/bin
RUN rm sv2v.zip
RUN wget "https://github.com/trabucayre/openFPGALoader/releases/download/v1.1.1/ubtuntu22.04-openFPGALoader.tgz" -O loader.tar.gz
RUN tar -xvzf loader.tar.gz -C /
RUN echo "export QT_QPA_PLATFORM=offscreen" >> ~/.bashrc
RUN echo "export PATH=/IDE/bin:$PATH" >> ~/.bashrc
RUN mkdir work
WORKDIR /work
RUN apt install -y kmod libhidapi-libusb0 libftdi1-2
ENTRYPOINT ["/bin/bash", "-l", "-c"]