| # debian.sh --arch 'amd64' out/ 'bookworm' '@1760918400' | 
						
					
						
							| LABEL author=Tara Piccari maintainer=tarapiccari@gmail.com | 
						
					
						
							| SHELL [/bin/bash -c] | 
						
					
						
							| ENV HOME=/root | 
						
					
						
							| ENV DOCKER=1 | 
						
					
						
							| ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 | 
						
					
						
							| USER root | 
						
					
						
							| WORKDIR / | 
						
					
						
							| ENV DEBIAN_FRONTEND=noninteractive | 
						
					
						
							| RUN /bin/bash -c echo "LC_ALL=en_US.UTF-8" >> /etc/environment # buildkit | 
						
					
						
							| RUN /bin/bash -c echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen # buildkit | 
						
					
						
							| RUN /bin/bash -c echo "LANG=en_US.UTF-8" >> /etc/locale.conf # buildkit | 
						
					
						
							| RUN /bin/bash -c echo "check-certificate = off" >> ~/.wgetrc # buildkit | 
						
					
						
							| ADD ./prep.sh /bin/prepare.sh # buildkit | 
						
					
						
							| RUN /bin/bash -c chmod +x /bin/prepare.sh && /bin/prepare.sh # buildkit | 
						
					
						
							| RUN /bin/bash -c apt update; apt-get upgrade -y # buildkit | 
						
					
						
							| RUN /bin/bash -c apt-get install -y rsync zip unzip file git locales curl wget apt-utils # buildkit | 
						
					
						
							| RUN /bin/bash -c locale-gen en_US.UTF-8 # buildkit | 
						
					
						
							| ENV GRADLE_VERSION=8.12 | 
						
					
						
							| RUN /bin/bash -c apt-get install -y build-essential git  && apt-get clean -y # buildkit | 
						
					
						
							| RUN /bin/bash -c wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb &&     dpkg -i packages-microsoft-prod.deb &&     rm packages-microsoft-prod.deb && apt-get update # buildkit | 
						
					
						
							| RUN /bin/bash -c apt-get install -y     devscripts build-essential wget curl git build-essential     autotools-dev autoconf bison bsdmainutils     flex fontforge gawk gcc gcc-mingw-w64-i686 gcc-mingw-w64-x86-64     gettext libacl1-dev libasound2-dev libfontconfig-dev libfreetype6-dev     libgl1-mesa-dev libglu1-mesa-dev libgnutls28-dev libgtk-3-dev     libice-dev libkrb5-dev libncurses-dev libopenal-dev libosmesa6-dev     libpcap-dev libpulse-dev libsane-dev libsdl2-dev libssl-dev    libstdc++-11-dev    libudev-dev    libvulkan-dev    libx11-dev    libxcomposite-dev    libxcursor-dev    libxext-dev    libxi-dev    libxinerama-dev    libxrandr-dev    libxrender-dev    libxt-dev    libxxf86vm-dev    linux-libc-dev    ocl-icd-opencl-dev    cmake ninja-build     openjdk-17-jdk nasm     openjdk-17-jre clang     pkg-config libgtk-3-dev     lldb libglu1-mesa libpulse0     cargo python3-dev     libffi-dev libssl-dev     fonts-liberation     libgtk-4-1 libgbm1     libu2f-udev libvulkan1     xdg-utils gradle     nasm mercurial     patch    perl    sharutils    maven     sqlite3 libsqlite3-dev     libevent-dev     libboost-dev     libzmq3-dev     systemtap-sdt-dev     qtbase5-dev qttools5-dev qttools5-dev-tools     qtwayland5     libqrencode-dev     unixodbc-dev    nsis lld llvm zip     g++-mingw-w64-x86-64-posix g++-multilib binutils     xz-utils curl cmake make     bison g++ pkgconf     dotnet-sdk-7.0     dotnet-sdk-8.0     x11proto-xinerama-dev    qt5*-dev     libqt5*-dev*     qml-module-qt*     libbz2-dev     && apt clean -y # buildkit | 
						
					
						
							| RUN /bin/bash -c apt-get install -y libxslt-dev libvorbis-dev librhash-dev libigloo-dev curl libtheora-dev libspeex-dev libmaxminddb-dev libcurl4-openssl-dev && apt-get clean -y # buildkit | 
						
					
						
							| WORKDIR /root/.ssh | 
						
					
						
							| RUN /bin/bash -c ssh-keyscan github.com >> /root/.ssh/known_hosts # buildkit | 
						
					
						
							| RUN /bin/bash -c ssh-keyscan -p 1212 git.zontreck.com >> /root/.ssh/known_hosts # buildkit | 
						
					
						
							| RUN /bin/bash -c git config --global user.name "zontreck" # buildkit | 
						
					
						
							| RUN /bin/bash -c git config --global user.email "tarapiccari@gmail.com" # buildkit | 
						
					
						
							| RUN /bin/bash -c git config --global http.timeout "3600" # buildkit | 
						
					
						
							| WORKDIR / | 
						
					
						
							| RUN /bin/bash -c apt-get install -y apache2 apache2-utils php8.2 php8.2-gd php8.2-mysql php8.2-mbstring php8.2-xml php8.2-imagick imagemagick unzip zip php8.2-zip php8.2-curl php8.2-sqlite rsync # buildkit | 
						
					
						
							| RUN /bin/bash -c apt-get install -y php8.2-bcmath php8.2-gmp php8.2-intl cron # buildkit | 
						
					
						
							| RUN /bin/bash -c apt-get install -y clamav clamav-daemon # buildkit | 
						
					
						
							| ENV MOUNTPOINT=/var/www/html | 
						
					
						
							| ENV NEXTCLOUD_VERSION=31.0.9 | 
						
					
						
							| WORKDIR /var/www/ | 
						
					
						
							| COPY --chown=www-data:www-data /var/www/html /var/www/htmlx # buildkit | 
						
					
						
							| WORKDIR /var/www/htmlx | 
						
					
						
							| COPY ./upload.ini /etc/php/8.2/apache2/conf.d/upload.ini # buildkit | 
						
					
						
							| WORKDIR /etc/apache2/sites-enabled | 
						
					
						
							| RUN /bin/bash -c rm -f * # buildkit | 
						
					
						
							| ADD ./default.conf ./default.conf # buildkit | 
						
					
						
							| WORKDIR /var/www/htmlx | 
						
					
						
							| ADD ./entrypoint.sh / # buildkit | 
						
					
						
							| RUN /bin/bash -c chmod +x /entrypoint.sh # buildkit | 
						
					
						
							| ADD ./cron_task /etc/crontab # buildkit | 
						
					
						
							| EXPOSE [80/tcp] | 
						
					
						
							| CMD ["crontab" "/etc/crontab"] | 
						
					
						
							| ENTRYPOINT ["/entrypoint.sh"] |