- 
                Notifications
    
You must be signed in to change notification settings  - Fork 322
 
Open
Description
Octane Version
1.0.3
Laravel Version
11.8.0
PHP Version
8.3
What server type are you using?
FrankenPHP
Server Version
1.0.3
Database Driver & Version
No response
Description
Using the latest laravel version as of today.
WARN Your FrankenPHP binary version (1.0.3) may be incompatible with Octane.
Using FROM dunglas/frankenphp:1.0-php8.3
FROM dunglas/frankenphp:1.0-php8.3
ARG DOCKER_WWWGROUP
ARG DOCKER_WWWUSER
ARG NODE_VERSION=20
ARG APP_ENV
WORKDIR /var/www/html
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=UTC
# Set timezone
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Update and install essential packages
RUN apt-get -y update --fix-missing && \
    apt-get upgrade -y && \
    apt-get install -y --no-install-recommends \
        apt-utils \
        apt-transport-https \
        curl \
        wget \
        nano \
        dialog \
        build-essential \
        git \
        gnupg2 \
        iputils-ping \
        libonig-dev \
        libsqlite3-dev \
        libsqlite3-0 \
        libzip-dev \
        libicu-dev \
        libxml2-dev \
        libxslt-dev \
        libssh2-1-dev \
        libssh2-1 \
        libcurl4-openssl-dev \
        pkg-config \
        openssl \
        zip \
        unzip \
        supervisor && \
    rm -rf /var/lib/apt/lists/*
# Install Node.js and Yarn
RUN curl -sL https://deb.nodesource.com/setup_$NODE_VERSION.x | bash - && \
    apt-get install -y --no-install-recommends nodejs && \
    npm install --global yarn && \
    rm -rf /var/lib/apt/lists/*
RUN pecl install xdebug
# Install PHP extensions
RUN install-php-extensions \
    pdo_sqlite \
    curl \
    zip \
    intl \
    mbstring \
    gettext \
    calendar \
    exif \
    pcntl \
    dom \
    xsl \
    simplexml \
    bcmath \
    sockets
# Clean up the image
RUN apt-get clean && apt-get autoremove -y
# Get latest Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
# Create user and group
RUN groupadd --gid 1000 $DOCKER_WWWGROUP && \
    useradd --uid 1000 --gid 1000 -m $DOCKER_WWWUSER && \
    chown 1000:1000 /var/log -R && chown 1000:1000 /var/run/ -R
# Switch to the new user
USER $DOCKER_WWWUSER
# Set the command to run frankenphp
ENTRYPOINT ["php", "artisan", "octane:frankenphp"]
Steps To Reproduce
see above
Metadata
Metadata
Assignees
Labels
No labels