osic-stacks/stacks/digital-heavy.Dockerfile

31 lines
610 B
Docker
Raw Normal View History

2023-09-24 18:54:09 +00:00
# OSIC Stacks - digital-heavy
# Dev environment for digital design.
2023-09-24 18:48:43 +00:00
ARG BASE_IMG=osicstacks-base-desktop
FROM $BASE_IMG as digital-heavy
# Update packages
RUN sudo pacman -Syuq --noconfirm
# Install packages
RUN sudo aur-install \
verilator \
iverilog \
gtkwave \
base-devel \
cmake
# Clean cache
RUN sudo pacman -Scc
# - Desktop build
FROM digital-heavy as digital-heavy-desktop
# Initialize the environment keeping container alive
2023-09-29 08:06:57 +00:00
ENTRYPOINT ["start_desktop"]
2023-09-24 18:48:43 +00:00
# - Web build
FROM digital-heavy as digital-heavy-web
# Run VNC server & desktop environment
2023-09-29 08:06:57 +00:00
ENTRYPOINT ["start_server"]