2023-09-21 07:29:04 +00:00
|
|
|
# OSIC Stacks - analog-xk
|
2023-09-24 18:54:09 +00:00
|
|
|
# Dev environment for analog circuits development using xschem and klayout.
|
2023-09-24 00:35:19 +00:00
|
|
|
ARG BASE_IMG=osicstacks-base-desktop
|
2023-09-21 07:29:04 +00:00
|
|
|
FROM $BASE_IMG as analog-xk
|
|
|
|
|
|
|
|
# Update packages
|
|
|
|
RUN sudo pacman -Syuq --noconfirm
|
|
|
|
|
|
|
|
# Install packages
|
2023-09-24 18:48:43 +00:00
|
|
|
RUN sudo aur-install \
|
|
|
|
xschem \
|
2023-09-24 18:54:09 +00:00
|
|
|
klayout \
|
|
|
|
netgen-lvs-git
|
2023-09-21 07:29:04 +00:00
|
|
|
|
|
|
|
# Clean cache
|
|
|
|
RUN sudo pacman -Scc
|
|
|
|
|
|
|
|
# - Desktop build
|
|
|
|
FROM analog-xk as analog-xk-desktop
|
|
|
|
|
|
|
|
# Initialize the environment keeping container alive
|
|
|
|
CMD ["sleep", "infinity"]
|
|
|
|
|
|
|
|
# - Web build
|
|
|
|
FROM analog-xk as analog-xk-web
|
|
|
|
|
|
|
|
# Run VNC server & desktop environment
|
|
|
|
CMD ["startserver"]
|