Compare commits

...

4 Commits

Author SHA1 Message Date
35262c235f Specify file endings
Some checks failed
release / dockerbuild (push) Failing after 7m54s
2023-09-24 15:56:48 -03:00
0ef5368c78 Fix header comments 2023-09-24 15:54:09 -03:00
3c8afae437 Add the rest of the stack list 2023-09-24 15:48:43 -03:00
2d81f28b9f Add editor & terminal environment variables 2023-09-24 15:26:43 -03:00
9 changed files with 132 additions and 11 deletions

10
.gitattributes vendored
View File

@ -1 +1,11 @@
# Auto detect text files and perform LF normalization
* text=auto
.png filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.sh text eol=lf
*.bat text eol=crlf
desktopinit text eol=lf
klayout text eol=lf
setwallpaper text eol=lf
startserver text eol=lf
*.desktop text eol=lf

View File

@ -6,7 +6,8 @@ FROM greyltc/archlinux-aur:paru as osicstacks-base-desktop
RUN pacman -Syuq --noconfirm
# Install packages
RUN aur-install sudo git git-lfs python python-pip python-pipx xz gnu-free-fonts vim ngspice gedit jupyter-notebook
RUN aur-install sudo git git-lfs python python-pip python-pipx xz gnu-free-fonts vim ngspice gedit jupyter-notebook xterm
ENV TERM=xterm EDITOR=gedit
# Clean cache
RUN pacman -Scc

View File

@ -1,5 +1,5 @@
# OSIC Stacks - analog-heavy-arch
# Dev enviroment for analog circuits development using xschem and klayout.
# OSIC Stacks - analog-heavy
# Dev environment for analog design.
ARG BASE_IMG=osicstacks-base-desktop
FROM $BASE_IMG as analog-heavy
@ -7,7 +7,12 @@ FROM $BASE_IMG as analog-heavy
RUN sudo pacman -Syuq --noconfirm
# Install packages
RUN sudo aur-install xschem glu magic-git klayout
RUN sudo aur-install \
xschem \
glu \
magic-git \
klayout \
netgen-lvs-git
# Clean cache
RUN sudo pacman -Scc

View File

@ -1,5 +1,5 @@
# OSIC Stacks - analog-xk
# Dev enviroment for analog circuits development using xschem and klayout.
# Dev environment for analog circuits development using xschem and klayout.
ARG BASE_IMG=osicstacks-base-desktop
FROM $BASE_IMG as analog-xk
@ -7,7 +7,10 @@ FROM $BASE_IMG as analog-xk
RUN sudo pacman -Syuq --noconfirm
# Install packages
RUN sudo aur-install xschem klayout
RUN sudo aur-install \
xschem \
klayout \
netgen-lvs-git
RUN pip install gdsfactory --break-system-packages
RUN pip install gf180 --upgrade --break-system-packages

View File

@ -1,5 +1,5 @@
# OSIC Stacks - analog-xm
# Dev enviroment for analog circuits development using xschem and magic.
# Dev environment for analog circuits development using xschem and magic.
ARG BASE_IMG=osicstacks-base-desktop
FROM $BASE_IMG as analog-xm
@ -7,7 +7,11 @@ FROM $BASE_IMG as analog-xm
RUN sudo pacman -Syuq --noconfirm
# Install packages
RUN sudo aur-install xschem glu magic-git
RUN sudo aur-install \
xschem \
glu \
magic-git \
netgen-lvs-git
# Clean cache
RUN sudo pacman -Scc

View File

@ -1,5 +1,5 @@
# OSIC Stacks - analog-xk-arch
# Dev enviroment for analog circuits development using xschem and klayout.
# OSIC Stacks - digital-ator
# Dev environment for digital circuits development using verilator and yosys.
ARG BASE_IMG=osicstacks-base-desktop
FROM $BASE_IMG as digital-ator
@ -7,7 +7,11 @@ FROM $BASE_IMG as digital-ator
RUN sudo pacman -Syuq --noconfirm
# Install packages
RUN sudo aur-install verilator gtkwave base-devel cmake
RUN sudo aur-install \
verilator \
gtkwave \
base-devel \
cmake
# Clean cache
RUN sudo pacman -Scc

View File

@ -0,0 +1,30 @@
# OSIC Stacks - digital-heavy
# Dev environment for digital design.
ARG BASE_IMG=osicstacks-base-desktop
FROM $BASE_IMG as digital-heavy
# Update packages
RUN sudo pacman -Syuq --noconfirm
# Install packages
RUN sudo aur-install \
verilator \
iverilog \
gtkwave \
base-devel \
cmake
# Clean cache
RUN sudo pacman -Scc
# - Desktop build
FROM digital-heavy as digital-heavy-desktop
# Initialize the environment keeping container alive
CMD ["sleep", "infinity"]
# - Web build
FROM digital-heavy as digital-heavy-web
# Run VNC server & desktop environment
CMD ["startserver"]

View File

@ -0,0 +1,29 @@
# OSIC Stacks - digital-icarus
# Dev environment for digital circuits development using icarus verilog and yosys.
ARG BASE_IMG=osicstacks-base-desktop
FROM $BASE_IMG as digital-icarus
# Update packages
RUN sudo pacman -Syuq --noconfirm
# Install packages
RUN sudo aur-install \
iverilog \
gtkwave \
base-devel \
cmake
# Clean cache
RUN sudo pacman -Scc
# - Desktop build
FROM digital-icarus as digital-icarus-desktop
# Initialize the environment keeping container alive
CMD ["sleep", "infinity"]
# - Web build
FROM digital-icarus as digital-icarus-web
# Run VNC server & desktop environment
CMD ["startserver"]

35
stacks/heavy.Dockerfile Normal file
View File

@ -0,0 +1,35 @@
# OSIC Stacks - heavy
# Dev environment for ic design.
ARG BASE_IMG=osicstacks-base-desktop
FROM $BASE_IMG as heavy
# Update packages
RUN sudo pacman -Syuq --noconfirm
# Install packages
RUN sudo aur-install \
xschem \
glu \
magic-git \
klayout \
netgen-lvs-git \
verilator \
iverilog \
gtkwave \
base-devel \
cmake
# Clean cache
RUN sudo pacman -Scc
# - Desktop build
FROM heavy as heavy-desktop
# Initialize the environment keeping container alive
CMD ["sleep", "infinity"]
# - Web build
FROM heavy as heavy-web
# Run VNC server & desktop environment
CMD ["startserver"]