osic-stacks/base/desktop.Dockerfile
Aquiles Viza 6885bf1076
All checks were successful
release / build-digital-heavy (push) Successful in 22m41s
release / build-digital-icarus (push) Successful in 22m50s
release / build-analog-xk (push) Successful in 23m29s
release / build-analog-xm (push) Successful in 24m29s
release / build-analog-heavy (push) Successful in 25m20s
release / build-heavy (push) Successful in 25m45s
release / build-chipathon-tools (push) Successful in 19m21s
release / build-base (push) Successful in 4m56s
release / build-digital-ator (push) Successful in 22m41s
Added wget into base dependencies
2023-12-24 00:37:57 -03:00

36 lines
984 B
Docker

# OSIC Stacks - osicstacks-base-desktop
# Base image for OSIC Stacks
FROM greyltc/archlinux-aur:paru as osicstacks-base-desktop
# Update packages
RUN pacman -Syuq --noconfirm
# Install packages
RUN aur-install sudo git git-lfs python python-pip python-pipx xz gnu-free-fonts vim ngspice gedit jupyter-notebook xterm wget
ENV TERM=xterm EDITOR=gedit
# Clean cache
RUN pacman -Scc
# Add main user
RUN useradd -m designer
RUN echo "designer ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/designer
# Install volare
USER designer
ENV PATH="${PATH}:/home/designer/.local/bin"
RUN pipx install volare
WORKDIR /home/designer
# PDK Environment variables
ENV PDK_ROOT /home/designer/.volare
ENV USER designer
# Add scripts
RUN mkdir -p .scripts
COPY --chown=designer:designer --chmod=755 scripts/* /home/designer/.scripts
ENV PATH="/home/designer/.scripts:${PATH}"
# Initialize the enviroment keeping container alive
CMD ["sleep", "infinity"]