This repository was archived by the owner on Mar 2, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +22
-8
lines changed Expand file tree Collapse file tree 1 file changed +22
-8
lines changed Original file line number Diff line number Diff line change 21
21
# along with casm-lang.container.linux. If not, see <http://www.gnu.org/licenses/>.
22
22
#
23
23
24
- FROM oblique/ archlinux-yay
24
+ FROM archlinux:base-devel
25
25
26
- RUN sudo pacman --noconfirm -Syyu \
27
- && sudo pacman --noconfirm -Sy archlinux-keyring \
28
- && sudo pacman --noconfirm -Su \
29
- && sudo pacman-key --refresh-keys \
30
- && sudo -u aur yay --noconfirm -S \
26
+ ARG USER=aur
27
+ RUN useradd \
28
+ -r \
29
+ -m \
30
+ -d /$USER \
31
+ -s /usr/bin/nologin \
32
+ -u "999" \
33
+ $USER \
34
+ && echo "$USER ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/$USER \
35
+ && pacman --noconfirm -Syu git sudo \
36
+ && git clone https://aur.archlinux.org/yay-bin /$USER/yay \
37
+ && chown -R $USER:$USER /$USER \
38
+ && cd /$USER/yay \
39
+ && sudo -u $USER makepkg --noconfirm -si \
40
+ && cd /$USER \
41
+ && rm -rf yay \
42
+ && sudo -u $USER yay --noconfirm -S \
31
43
bash \
32
44
git \
33
45
make \
@@ -43,9 +55,11 @@ RUN sudo pacman --noconfirm -Syyu \
43
55
gcc \
44
56
clang \
45
57
openmp \
46
- emscripten \
47
58
z3 \
48
59
gtest \
49
- hayai-git
60
+ hayai-git \
61
+ && sudo pacman -Scc \
62
+ && rm -rf /var/cache/pacman/pkg/* \
63
+ && sudo -u $USER yay -Ps
50
64
51
65
CMD ["/bin/bash" ]
You can’t perform that action at this time.
0 commit comments