osic-stacks/stacks/analog-xm.Dockerfile

30 lines
597 B
Docker
Raw Permalink Normal View History

2023-09-21 07:48:48 +00:00
# OSIC Stacks - analog-xm
2023-09-24 18:54:09 +00:00
# Dev environment 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
2023-09-24 18:48:43 +00:00
RUN sudo aur-install \
xschem \
glu \
magic-git \
netgen-lvs-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"]