osic-stacks/stacks/digital-ator.Dockerfile

26 lines
592 B
Docker
Raw Normal View History

2023-09-03 22:56:20 +00:00
# OSIC Stacks - analog-xk-arch
# Dev enviroment for analog circuits development using xschem and klayout.
2023-09-21 07:48:48 +00:00
ARG BASE_IMG=osicstacks-base-native
FROM $BASE_IMG as digital-ator
2023-09-03 22:56:20 +00:00
# Update packages
2023-09-06 14:27:28 +00:00
RUN sudo pacman -Syuq --noconfirm
2023-09-03 22:56:20 +00:00
# Install packages
2023-09-06 14:27:28 +00:00
RUN sudo aur-install verilator gtkwave base-devel cmake
2023-09-03 22:56:20 +00:00
# Clean cache
2023-09-06 14:27:28 +00:00
RUN sudo pacman -Scc
2023-09-03 22:56:20 +00:00
2023-09-21 07:48:48 +00:00
# - Desktop build
FROM digital-ator as digital-ator-desktop
# Initialize the environment keeping container alive
CMD ["sleep", "infinity"]
# - Web build
FROM digital-ator as digital-ator-web
# Run VNC server & desktop environment
CMD ["startserver"]