-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dockerfile and deps to build everything from a container
Signed-off-by: Luiz Carlos Cavalcanti <cavalcanti.luiz@gmail.com>
- Loading branch information
1 parent
2bb63b0
commit d1cd6c7
Showing
3 changed files
with
27 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,15 @@ | ||
FROM base/archlinux:latest | ||
|
||
RUN pacman -Syy && \ | ||
yes | pacman -S sudo autoconf pkg-config automake libtool git fakeroot gcc libzip libglvnd luarocks love patch make && \ | ||
luarocks install lua-libzip && \ | ||
luarocks install love-release | ||
|
||
ADD /sudoers.txt /etc/sudoers | ||
RUN chmod 440 /etc/sudoers | ||
|
||
RUN useradd --no-create-home --shell=/bin/false builder && usermod -L builder | ||
|
||
USER builder | ||
|
||
ENV PATH="$PATH:~/bin" |
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,8 @@ | ||
#! /bin/bash | ||
cd /tmp | ||
git clone https://aur.archlinux.org/dpkg.git | ||
cd dpkg | ||
yes | makepkg -s | ||
yes | sudo pacman -U dpkg-1.18.25-1-x86_64.pkg.tar.xz | ||
cd /jogabilijam3 | ||
|
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,4 @@ | ||
root ALL=(ALL) ALL | ||
builder ALL=(ALL) NOPASSWD: ALL | ||
Defaults env_reset | ||
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |