Repository init
This commit is contained in:
commit
23079eb4bc
28
Dockerfile
Normal file
28
Dockerfile
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
FROM php:8.3-cli
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
|
||||||
|
# Git, curl, GnuPG, php dependencies
|
||||||
|
RUN apt-get -y install curl zip gnupg git git-lfs libfreetype-dev libzip-dev\
|
||||||
|
libjpeg62-turbo-dev libpng-dev libxml2-dev
|
||||||
|
|
||||||
|
# PHP extensions
|
||||||
|
RUN docker-php-ext-configure gd --with-freetype --with-jpeg \
|
||||||
|
&& docker-php-ext-install -j$(nproc) gd
|
||||||
|
RUN docker-php-ext-install -j$(nproc) zip
|
||||||
|
RUN docker-php-ext-install -j$(nproc) soap
|
||||||
|
|
||||||
|
# Composer
|
||||||
|
COPY --from=composer/composer:latest-bin /composer /usr/bin/composer
|
||||||
|
|
||||||
|
# Node.js
|
||||||
|
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
|
||||||
|
RUN apt-get -y install nodejs
|
||||||
|
RUN ln -s /usr/bin/node /usr/local/bin/node
|
||||||
|
|
||||||
|
# PNPM
|
||||||
|
ENV PNPM_HOME="/pnpm"
|
||||||
|
ENV PATH="$PNPM_HOME:$PATH"
|
||||||
|
|
||||||
|
RUN corepack enable
|
||||||
|
RUN pnpm --version
|
18
LICENSE
Normal file
18
LICENSE
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
Copyright (c) 2024 chicory@fossee.net
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
Loading…
Reference in New Issue
Block a user