10 lines
433 B
Docker
10 lines
433 B
Docker
FROM ghcr.io/lnis-uofu/openfpga-env
|
|
RUN mkdir -p /opt/openfpga
|
|
WORKDIR /opt/openfpga
|
|
COPY . /opt/openfpga
|
|
RUN chmod +x abc/abc ace2/ace openfpga/openfpga vpr/vpr
|
|
RUN chmod +x yosys/yosys yosys/yosys-abc yosys/yosys-config yosys/yosys-filterlib yosys/yosys-smtbmc
|
|
ENV PATH="/opt/openfpga/openfpga:/opt/openfpga/yosys:${PATH}"
|
|
ENV PATH="/opt/openfpga/ace2:/opt/openfpga/abc:/opt/openfpga/vpr:${PATH}"
|
|
ENV OPENFPGA_PATH="/opt/openfpga"
|