Skip to content

Commit

Permalink
chore(docker): add a docker image with utils included (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jan 22, 2024
1 parent 5628dd7 commit 5baf8b0
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
FROM manjarolinux/build:20240121
LABEL version="0.1"
LABEL maintainer="Abdelhak Bougouffa"
LABEL release-date="2024-01-23"

# Create a user for yay building, and delete it's password
RUN useradd yaybuilder -m
RUN passwd -d yaybuilder
# Allow the yaybuilder user for password-less sudo
RUN printf 'root ALL=(ALL) ALL\n' | tee -a /etc/sudoers
RUN printf 'yaybuilder ALL=(ALL) ALL\n' | tee -a /etc/sudoers

# Update Pacman's DB
RUN pacman -Syu --noconfirm bash yay

# C/C++
RUN pacman -S --noconfirm gcc gdb valgrind llvm lldb lldb-mi clang ccls

# Rust
RUN pacman -S --noconfirm rustup

# Python
RUN pacman -S --noconfirm pyright python-lsp-server

# Common Lisp
RUN pacman -S --noconfirm sbcl ecl clisp quicklisp roswell

# Plotting and graphs
RUN pacman -S --noconfirm dot-language-server graphviz

# Others
RUN sudo -u yaybuilder yay -S --noconfirm lemminx emacs-lsp-booster-git

CMD ["bash"]

0 comments on commit 5baf8b0

Please sign in to comment.