osic-stacks/stacks/digital-ator.Dockerfile

30 lines
618 B
Docker
Raw Permalink Normal View History

2023-09-24 18:54:09 +00:00
# OSIC Stacks - digital-ator
# Dev environment for digital circuits development using verilator and yosys.
ARG BASE_IMG=osicstacks-base-desktop
2023-09-21 07:48:48 +00:00
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-24 18:48:43 +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"]