-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docker): add a docker image with utils included (WIP)
- Loading branch information
1 parent
5628dd7
commit 5baf8b0
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |