Last active
April 17, 2023 06:56
-
-
Save carlosedp/1f9119e0645e842e474ec1a67b5aed7e to your computer and use it in GitHub Desktop.
Symbiflow Docker image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source "/opt/conda/etc/profile.d/conda.sh" | |
exec "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM continuumio/miniconda | |
ENV INSTALL_DIR="/opt/symbiflow" | |
ENV FPGA_FAM=xc7 | |
RUN apt-get update && \ | |
apt-get upgrade -y && \ | |
apt-get install -y ca-certificates git build-essential wget cmake xz-utils --no-install-recommends | |
RUN git clone https://github.com/SymbiFlow/symbiflow-examples | |
RUN cd symbiflow-examples && \ | |
conda env create -f ./${FPGA_FAM}/environment.yml | |
RUN mkdir -p ${INSTALL_DIR}/${FPGA_FAM}/install && \ | |
wget -qO- https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/201/20210325-000253/symbiflow-arch-defs-install-1c7a3d1e.tar.xz | tar -xJC ${INSTALL_DIR}/${FPGA_FAM}/install && \ | |
wget -qO- https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/201/20210325-000253/symbiflow-arch-defs-xc7a50t_test-1c7a3d1e.tar.xz | tar -xJC ${INSTALL_DIR}/${FPGA_FAM}/install && \ | |
wget -qO- https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/201/20210325-000253/symbiflow-arch-defs-xc7a100t_test-1c7a3d1e.tar.xz | tar -xJC ${INSTALL_DIR}/${FPGA_FAM}/install && \ | |
wget -qO- https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/201/20210325-000253/symbiflow-arch-defs-xc7a200t_test-1c7a3d1e.tar.xz | tar -xJC ${INSTALL_DIR}/${FPGA_FAM}/install && \ | |
wget -qO- https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/201/20210325-000253/symbiflow-arch-defs-xc7z010_test-1c7a3d1e.tar.xz | tar -xJC ${INSTALL_DIR}/${FPGA_FAM}/install | |
ENV PATH="$INSTALL_DIR/$FPGA_FAM/install/bin:/opt/conda/envs/${FPGA_FAM}/bin/:${PATH}" | |
COPY ./docker-entrypoint.sh / | |
ENTRYPOINT ["/docker-entrypoint.sh"] | |
CMD ["bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I need a help about this, does anyone who knows why it happend?