2023-09-21 07:48:48 +00:00
|
|
|
# OSIC Stacks - analog-xm
|
2023-08-07 06:38:14 +00:00
|
|
|
# Dev enviroment for analog circuits development using xschem and magic.
|
2023-09-24 00:35:19 +00:00
|
|
|
ARG BASE_IMG=osicstacks-base-desktop
|
2023-09-21 07:48:48 +00:00
|
|
|
FROM $BASE_IMG as analog-xm
|
2023-08-07 06:38:14 +00:00
|
|
|
|
|
|
|
# Update packages
|
2023-09-06 14:22:16 +00:00
|
|
|
RUN sudo pacman -Syuq --noconfirm
|
2023-08-07 06:38:14 +00:00
|
|
|
|
|
|
|
# Install packages
|
2023-09-22 00:35:02 +00:00
|
|
|
RUN sudo aur-install xschem glu magic-git
|
2023-08-07 06:38:14 +00:00
|
|
|
|
|
|
|
# Clean cache
|
2023-09-06 14:22:16 +00:00
|
|
|
RUN sudo pacman -Scc
|
2023-08-07 06:38:14 +00:00
|
|
|
|
2023-09-21 07:48:48 +00:00
|
|
|
# - Desktop build
|
|
|
|
FROM analog-xm as analog-xm-desktop
|
|
|
|
|
|
|
|
# Initialize the environment keeping container alive
|
|
|
|
CMD ["sleep", "infinity"]
|
|
|
|
|
|
|
|
# - Web build
|
|
|
|
FROM analog-xm as analog-xm-web
|
|
|
|
|
|
|
|
# Run VNC server & desktop environment
|
|
|
|
CMD ["startserver"]
|