mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 13:23:14 +01:00
Attempt to revert NodeJS so ARM 32bit builds work again (#1081)
* Attempt to revert NodeJS so ARM 32bit builds work again * Rollback even further
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Node dependencies stage
|
# Node dependencies stage
|
||||||
FROM public.ecr.aws/docker/library/node:lts-alpine AS frontend-dependencies
|
FROM public.ecr.aws/docker/library/node:22-alpine AS frontend-dependencies
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install pnpm globally (caching layer)
|
# Install pnpm globally (caching layer)
|
||||||
@@ -10,7 +10,7 @@ COPY frontend/package.json frontend/pnpm-lock.yaml ./
|
|||||||
RUN pnpm install --frozen-lockfile
|
RUN pnpm install --frozen-lockfile
|
||||||
|
|
||||||
# Build Nuxt (frontend) stage
|
# Build Nuxt (frontend) stage
|
||||||
FROM public.ecr.aws/docker/library/node:lts-alpine AS frontend-builder
|
FROM public.ecr.aws/docker/library/node:22-alpine AS frontend-builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install pnpm globally again (it can reuse the cache if not changed)
|
# Install pnpm globally again (it can reuse the cache if not changed)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
# Node dependencies stage
|
# Node dependencies stage
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
FROM public.ecr.aws/docker/library/node:lts-alpine AS frontend-dependencies
|
FROM public.ecr.aws/docker/library/node:22-alpine AS frontend-dependencies
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install pnpm globally (caching layer)
|
# Install pnpm globally (caching layer)
|
||||||
@@ -14,7 +14,7 @@ RUN pnpm install --frozen-lockfile
|
|||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
# Build Nuxt (frontend) stage
|
# Build Nuxt (frontend) stage
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
FROM public.ecr.aws/docker/library/node:lts-alpine AS frontend-builder
|
FROM public.ecr.aws/docker/library/node:22-alpine AS frontend-builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install pnpm globally again (it can reuse the cache if not changed)
|
# Install pnpm globally again (it can reuse the cache if not changed)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Node dependencies stage
|
# Node dependencies stage
|
||||||
FROM public.ecr.aws/docker/library/node:lts-alpine AS frontend-dependencies
|
FROM public.ecr.aws/docker/library/node:22-alpine AS frontend-dependencies
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install pnpm globally (caching layer)
|
# Install pnpm globally (caching layer)
|
||||||
@@ -10,7 +10,7 @@ COPY frontend/package.json frontend/pnpm-lock.yaml ./
|
|||||||
RUN pnpm install --frozen-lockfile
|
RUN pnpm install --frozen-lockfile
|
||||||
|
|
||||||
# Build Nuxt (frontend) stage
|
# Build Nuxt (frontend) stage
|
||||||
FROM public.ecr.aws/docker/library/node:lts-alpine AS frontend-builder
|
FROM public.ecr.aws/docker/library/node:22-alpine AS frontend-builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install pnpm globally again (it can reuse the cache if not changed)
|
# Install pnpm globally again (it can reuse the cache if not changed)
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ services:
|
|||||||
image: homebox
|
image: homebox
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./Dockerfile.hardened
|
dockerfile: ./Dockerfile
|
||||||
args:
|
args:
|
||||||
- COMMIT=head
|
- COMMIT=head
|
||||||
- BUILD_TIME=0001-01-01T00:00:00Z
|
- BUILD_TIME=0001-01-01T00:00:00Z
|
||||||
@@ -11,7 +11,7 @@ services:
|
|||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
- linux/arm/v7
|
- linux/arm
|
||||||
environment:
|
environment:
|
||||||
- HBOX_DEBUG=true
|
- HBOX_DEBUG=true
|
||||||
- HBOX_LOGGER_LEVEL=-1
|
- HBOX_LOGGER_LEVEL=-1
|
||||||
|
|||||||
Reference in New Issue
Block a user