Update Node version

This commit is contained in:
2023-09-12 14:18:22 +02:00
parent 510cede37f
commit caf6b150f5
7 changed files with 23 additions and 35 deletions

View File

@@ -53,6 +53,7 @@ jobs:
with: with:
file: "./src/docker/8.0/Dockerfile" file: "./src/docker/8.0/Dockerfile"
push: true push: true
platforms: linux/amd64,linux/arm64
tags: "${{env.BUILDKIT_IMAGE}}:8.0" tags: "${{env.BUILDKIT_IMAGE}}:8.0"
- -
name: Build and push 8.1 name: Build and push 8.1

View File

@@ -1,7 +1,7 @@
version: '3' version: '3'
services: services:
php-fpm: php-fpm:
image: jkaninda/laravel-php-fpm:latest image: jkaninda/laravel-php-fpm:8.2
container_name: php-fpm container_name: php-fpm
restart: unless-stopped restart: unless-stopped
volumes: volumes:
@@ -15,7 +15,7 @@ services:
container_name: nginx-server container_name: nginx-server
restart: unless-stopped restart: unless-stopped
ports: ports:
- 88:80 - 80:80
volumes: volumes:
- ./laravel:/var/www/html - ./laravel:/var/www/html
environment: environment:

View File

@@ -2,7 +2,7 @@ FROM php:7.2-fpm
ARG WORKDIR=/var/www/html ARG WORKDIR=/var/www/html
ENV DOCUMENT_ROOT=${WORKDIR} ENV DOCUMENT_ROOT=${WORKDIR}
ENV LARAVEL_PROCS_NUMBER=1 ENV LARAVEL_PROCS_NUMBER=1
ENV NODE_MAJOR=18 ENV NODE_VERSION=16.x
# Install system dependencies # Install system dependencies
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
git \ git \
@@ -24,12 +24,9 @@ RUN apt-get update && apt-get install -y \
nano \ nano \
cron cron
# Install Nodejs RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION} | bash -
RUN apt-get update && apt-get install -y ca-certificates curl gnupg # Install Node
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg RUN apt-get install -y nodejs
RUN 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
RUN apt-get update && apt-get install nodejs -y
# Clear cache # Clear cache
RUN apt-get clean && rm -rf /var/lib/apt/lists/* RUN apt-get clean && rm -rf /var/lib/apt/lists/*
# Install Kafka # Install Kafka

View File

@@ -2,7 +2,7 @@ FROM php:7.3-fpm
ARG WORKDIR=/var/www/html ARG WORKDIR=/var/www/html
ENV DOCUMENT_ROOT=${WORKDIR} ENV DOCUMENT_ROOT=${WORKDIR}
ENV LARAVEL_PROCS_NUMBER=1 ENV LARAVEL_PROCS_NUMBER=1
ENV NODE_MAJOR=18 ENV NODE_VERSION=16.x
# Install system dependencies # Install system dependencies
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
git \ git \
@@ -23,12 +23,9 @@ RUN apt-get update && apt-get install -y \
sqlite3 \ sqlite3 \
nano \ nano \
cron cron
# Install Nodejs RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION} | bash -
RUN apt-get update && apt-get install -y ca-certificates curl gnupg # Install Node
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg RUN apt-get install -y nodejs
RUN 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
RUN apt-get update && apt-get install nodejs -y
# Clear cache # Clear cache
RUN apt-get clean && rm -rf /var/lib/apt/lists/* RUN apt-get clean && rm -rf /var/lib/apt/lists/*
# Install Kafka # Install Kafka

View File

@@ -2,7 +2,7 @@ FROM php:7.4-fpm
ARG WORKDIR=/var/www/html ARG WORKDIR=/var/www/html
ENV DOCUMENT_ROOT=${WORKDIR} ENV DOCUMENT_ROOT=${WORKDIR}
ENV LARAVEL_PROCS_NUMBER=1 ENV LARAVEL_PROCS_NUMBER=1
ENV NODE_MAJOR=18 ENV NODE_VERSION=16.x
ARG HOST_UID=1000 ARG HOST_UID=1000
ENV USER=www-data ENV USER=www-data
# Install system dependencies # Install system dependencies
@@ -26,12 +26,9 @@ RUN apt-get update && apt-get install -y \
nano \ nano \
cron cron
# Install Nodejs RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION} | bash -
RUN apt-get update && apt-get install -y ca-certificates curl gnupg # Install Node
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg RUN apt-get install -y nodejs
RUN 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
RUN apt-get update && apt-get install nodejs -y
# Clear cache # Clear cache
RUN apt-get clean && rm -rf /var/lib/apt/lists/* RUN apt-get clean && rm -rf /var/lib/apt/lists/*
# Install Kafka # Install Kafka

View File

@@ -2,7 +2,7 @@ FROM php:8.0-fpm
ARG WORKDIR=/var/www/html ARG WORKDIR=/var/www/html
ENV DOCUMENT_ROOT=${WORKDIR} ENV DOCUMENT_ROOT=${WORKDIR}
ENV LARAVEL_PROCS_NUMBER=1 ENV LARAVEL_PROCS_NUMBER=1
ENV NODE_MAJOR=18 ENV NODE_VERSION=16.x
ARG HOST_UID=1000 ARG HOST_UID=1000
ENV USER=www-data ENV USER=www-data
# Install system dependencies # Install system dependencies
@@ -25,11 +25,9 @@ RUN apt-get update && apt-get install -y \
sqlite3 \ sqlite3 \
nano \ nano \
cron cron
# Install Nodejs RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION} | bash -
RUN apt-get update && apt-get install -y ca-certificates curl gnupg # Install Node
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg RUN apt-get install -y nodejs
RUN 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
RUN apt-get update && apt-get install nodejs -y
# Clear cache # Clear cache
RUN apt-get clean && rm -rf /var/lib/apt/lists/* RUN apt-get clean && rm -rf /var/lib/apt/lists/*

View File

@@ -2,7 +2,7 @@ FROM php:8.1-fpm
ARG WORKDIR=/var/www/html ARG WORKDIR=/var/www/html
ENV DOCUMENT_ROOT=${WORKDIR} ENV DOCUMENT_ROOT=${WORKDIR}
ENV LARAVEL_PROCS_NUMBER=1 ENV LARAVEL_PROCS_NUMBER=1
ENV NODE_MAJOR=18 ENV NODE_VERSION=17.x
ARG HOST_UID=1000 ARG HOST_UID=1000
ENV USER=www-data ENV USER=www-data
# Install system dependencies # Install system dependencies
@@ -26,11 +26,9 @@ RUN apt-get update && apt-get install -y \
nano \ nano \
cron cron
# Install Nodejs RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION} | bash -
RUN apt-get update && apt-get install -y ca-certificates curl gnupg # Install Node
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg RUN apt-get install -y nodejs
RUN 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
RUN apt-get update && apt-get install nodejs -y
# Clear cache # Clear cache
RUN apt-get clean && rm -rf /var/lib/apt/lists/* RUN apt-get clean && rm -rf /var/lib/apt/lists/*