Block a user
my-rssa (20250725074312-head)
Published 2025-07-25 10:30:18 +00:00 by stim
Installation
docker pull git.rssa.top/usman/my-rssa:20250725074312-headsha256:3f0918a0c1911331a44657ae22d352d723b0a0f48fd54f440a3625a4859c0c43
Image Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:b4619a63cd7829e1338ddaa4995ca17003002dd54b0dfd675a6f54a2b69151a6 in / |
| CMD ["/bin/bash"] |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/sh -c apt update # buildkit |
| RUN /bin/sh -c apt install -y software-properties-common # buildkit |
| RUN /bin/sh -c add-apt-repository -y ppa:ondrej/php # buildkit |
| RUN /bin/sh -c apt update # buildkit |
| RUN /bin/sh -c apt install -y php8.2 php8.2-cli php8.2-common php8.2-fpm php8.2-mysql php8.2-pgsql php8.2-zip php8.2-gd php8.2-mbstring php8.2-curl php8.2-xml php8.2-bcmath php8.2-pdo # buildkit |
| RUN /bin/sh -c apt install -y php8.2-fpm php8.2-cli # buildkit |
| RUN /bin/sh -c apt install -y curl # buildkit |
| RUN /bin/sh -c php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" # buildkit |
| RUN /bin/sh -c php -r "if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4150413ff2e3b6f88543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" # buildkit |
| RUN /bin/sh -c php composer-setup.php # buildkit |
| RUN /bin/sh -c php -r "unlink('composer-setup.php');" # buildkit |
| RUN /bin/sh -c mv composer.phar /usr/local/bin/composer # buildkit |
| RUN /bin/sh -c mkdir -p /run/php # buildkit |
| RUN /bin/sh -c apt install -y ca-certificates gnupg # buildkit |
| RUN /bin/sh -c mkdir -p /etc/apt/keyrings # buildkit |
| RUN /bin/sh -c curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg # buildkit |
| ENV NODE_MAJOR=20 |
| RUN /bin/sh -c echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list # buildkit |
| RUN /bin/sh -c apt update # buildkit |
| RUN /bin/sh -c apt install -y nodejs # buildkit |
| RUN /bin/sh -c apt install -y nginx # buildkit |
| RUN /bin/sh -c apt install -y git # buildkit |
| RUN /bin/sh -c apt install -y zip # buildkit |
| RUN /bin/sh -c echo " server {\n listen 80;\n listen [::]:80;\n root /var/www/html/public;\n add_header X-Frame-Options \"SAMEORIGIN\";\n add_header X-Content-Type-Options \"nosniff\";\n index index.php;\n charset utf-8;\n location / {\n try_files \$uri \$uri/ /index.php?\$query_string;\n }\n location = /favicon.ico { access_log off; log_not_found off; }\n location = /robots.txt { access_log off; log_not_found off; }\n error_page 404 /index.php;\n location ~ \.php$ {\n fastcgi_pass unix:/run/php/php8.2-fpm.sock;\n fastcgi_param SCRIPT_FILENAME \$realpath_root\$fastcgi_script_name;\n include fastcgi_params;\n }\n location ~ /\.(?!well-known).* {\n deny all;\n }\n }\n" > /etc/nginx/sites-available/default # buildkit |
| COPY ./src/ /var/www/html # buildkit |
| WORKDIR /var/www/html |
| COPY entrypoint.sh /entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit |
| RUN /bin/sh -c chown -R www-data:www-data /var/www/html # buildkit |
| RUN /bin/sh -c composer config --global --auth # buildkit |
| RUN /bin/sh -c composer install -v --ignore-platform-req=ext-intl # buildkit |
| RUN /bin/sh -c php artisan config:cache && php artisan config:clear # buildkit |
| RUN /bin/sh -c php artisan route:cache && php artisan route:clear # buildkit |
| RUN /bin/sh -c php artisan storage:link # buildkit |
| RUN /bin/sh -c php artisan view:cache # buildkit |
| RUN /bin/sh -c npm install # buildkit |
| RUN /bin/sh -c npm run build # buildkit |
| RUN /bin/sh -c chmod -R 775 storage bootstrap/cache # buildkit |
| RUN /bin/sh -c chown -R www-data:www-data storage bootstrap/cache # buildkit |
| RUN /bin/sh -c chmod -R 0777 storage # buildkit |
| RUN /bin/sh -c rm -rf .git # buildkit |
| RUN /bin/sh -c rm -rf .github # buildkit |
| RUN /bin/sh -c rm -rf .gitlab-ci.yml # buildkit |
| EXPOSE map[80/tcp:{}] |
| ENTRYPOINT ["/entrypoint.sh"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.version | 24.04 |
Details
2025-07-25 10:30:18 +00:00
Versions (10)
View all
Container
0
OCI / Docker
linux/amd64
352 MiB
20250726045351-head
2025-07-26
20250725074312-head
2025-07-25
20250509021059-head
2025-05-09
latest-head
2025-05-09
latest-main
2025-05-07