Skip to content

Commit

Permalink
include siepic tools and EBeam PDK in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
jasminabrar authored Jan 16, 2024
1 parent 1ba1bef commit 334dd2a
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,25 @@ FROM quay.io/centos/centos:stream8

# Update the system and install necessary tools.
RUN dnf -y update && \
dnf -y install wget bzip2 unzip git mesa-dri-drivers
dnf -y install wget bzip2 unzip git mesa-dri-drivers python3 python3-pip

# Install Numpy
RUN pip3 install numpy

# Install the newest version of KLayout
RUN wget https://www.klayout.org/downloads/CentOS_8/klayout-0.28.12-0.x86_64.rpm -O ~/klayout.rpm && \
RUN wget https://www.klayout.org/downloads/CentOS_8/klayout-0.28.13-0.x86_64.rpm -O ~/klayout.rpm && \
dnf -y localinstall ~/klayout.rpm && \
rm ~/klayout.rpm

# Clone SiEPIC-Tools and SiEPIC_EBeam_PDK.
RUN mkdir -p /root/.klayout/salt && \
cd /root/.klayout/salt && \
git clone https://github.com/SiEPIC/SiEPIC-Tools.git && \
git clone https://github.com/SiEPIC/SiEPIC_EBeam_PDK.git

# Set the working directory
WORKDIR /home

# Set PATH
ENV PATH="/usr/local/bin:${PATH}"
ENV PATH="/usr/local/bin:${PATH}:/usr/local/bin/python3:/root/.local/bin"
ENV QT_QPA_PLATFORM=minimal

0 comments on commit 334dd2a

Please sign in to comment.