first commit (beta project)

This commit is contained in:
Cyber Anonymous 2023-02-16 14:25:51 -03:00
commit 2a5a7c0e3c
3 changed files with 26 additions and 0 deletions

1
98accept Normal file
View file

@ -0,0 +1 @@
APT::GET::Assume-Yes "true";

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
FROM proget.makedeb.org/docker/makedeb/makedeb:debian-bullseye
ARG DEBIAN_FRONTEND=noninteractive
# Install needed packages.
#RUN echo 'APT::GET::Assume-Yes "true";' | sudo tee /etc/apt/apt.conf.d/98accept
COPY 98accept /etc/apt/apt.conf.d/
USER makedeb
#WORKDIR /home/makedeb/
EXPOSE 80
RUN sudo apt update; sudo apt upgrade ; sudo apt install git apache2; sudo mkdir -p /var/www/html
WORKDIR /var/www/html
RUN sudo chown makedeb:makedeb -R . ; git clone https://mpr.makedeb.org/freetube-bin.git ; cd freetube-bin ; makedeb -i ; cd /var/www/html; rm index.html ; sudo chown www-data:www-data -R .
#RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
CMD ["sudo", "/usr/sbin/apache2ctl", "-D", "FOREGROUND"]
#CMD ["/bin/bash"]

10
README.md Normal file
View file

@ -0,0 +1,10 @@
# Makedeb Dockerfile
Dockerfile to compile and package programs for Debian based systems using makedeb project.
The compiled package will be available via apache, to download just access http://localhost and get the deb package generated by makedeb
Edit Dockerfile to use other git-hosted projects, or for local projects.
By using makedeb the compilation uses PKGBUILD file format to compile and package