osic-stacks/stacks/analog-xm.Dockerfile

26 lines
557 B
Docker
Raw Normal View History

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.
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
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"]