• Joined on 2023-03-03

my-rssa (latest-main)

Published 2025-05-07 06:33:12 +00:00 by stim

Installation

docker pull git.rssa.top/usman/my-rssa:latest-main
sha256:0595d663a4e1aeb5104c2a9ecf38a37e1b8c1134a3a77166d839463ddde8dd8c

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:ad85a9d7b0a74c2140bd51d9c4559cca392991e0c95f84cb139347348e5d1f9a 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
Container
2025-05-07 06:33:12 +00:00
2
OCI / Docker
linux/amd64
342 MiB
Versions (10) View all
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