-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
13 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 |
---|---|---|
@@ -1,26 +1,20 @@ | ||
FROM debian:bookworm | ||
FROM debian:buster | ||
|
||
RUN apt-get update &&\ | ||
apt-get install -y \ | ||
sudo ccache time git-core subversion build-essential g++ bash make \ | ||
libssl-dev patch libncurses5 libncurses5-dev zlib1g-dev gawk flex \ | ||
gettext wget unzip xz-utils python3 python3-distutils-extra rsync curl \ | ||
gcc-multilib libsnmp-dev liblzma-dev libpam0g-dev cpio rsync \ | ||
clang python3-distutils file wget automake && \ | ||
|
||
libssl-dev patch libncurses5 libncurses5-dev zlib1g-dev gawk \ | ||
flex gettext wget unzip xz-utils python python-distutils-extra \ | ||
python3 python3-distutils-extra rsync curl libsnmp-dev liblzma-dev \ | ||
libpam0g-dev cpio rsync && \ | ||
wget https://github.com/cli/cli/releases/download/v2.39.2/gh_2.39.2_linux_amd64.deb && \ | ||
apt-get install -f ./gh_2.39.2_linux_amd64.deb && \ | ||
apt-get clean && \ | ||
useradd -m user && \ | ||
echo 'user ALL=NOPASSWD: ALL' > /etc/sudoers.d/user | ||
|
||
ADD https://github.com/github-release/github-release/releases/download/v0.9.0/linux-amd64-github-release.bz2 linux-amd64-github-release.bz2 | ||
RUN bzip2 -d linux-amd64-github-release.bz2 && \ | ||
cp linux-amd64-github-release /usr/local/bin/github-release && \ | ||
chmod +x /usr/local/bin/github-release | ||
|
||
USER user | ||
WORKDIR /home/user | ||
|
||
# set dummy git config | ||
RUN git config --global user.name "user" && git config --global user.email "user@example.com" | ||
|
||
|