mirror of
https://github.com/CorentinTh/enclosed.git
synced 2026-01-09 07:44:26 +08:00
feat(docker): armv7 support (#316)
* refactor(docker): use node-slim image for build stage * feat(docker): armv7 support
This commit is contained in:
parent
7cef0a7288
commit
9f7797afce
4
.github/workflows/cd-docker-release.yaml
vendored
4
.github/workflows/cd-docker-release.yaml
vendored
@ -170,7 +170,7 @@ jobs:
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
push: true
|
||||
tags: |
|
||||
corentinth/enclosed:latest
|
||||
@ -183,7 +183,7 @@ jobs:
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile.rootless
|
||||
platforms: linux/amd64,linux/arm64
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
push: true
|
||||
tags: |
|
||||
corentinth/enclosed:latest-rootless
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
# Base image using Node.js Alpine version 22
|
||||
FROM node:22-alpine AS builder
|
||||
# Base image is node:22-slim, we cannot use node:22-alpine because of
|
||||
# a known issue for arm/v7 architecture (hangs on dependency installation)
|
||||
# see https://github.com/nodejs/docker-node/issues/2077
|
||||
FROM node:22-slim AS builder
|
||||
|
||||
# Set the working directory for the app
|
||||
WORKDIR /app
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
# Base image using Node.js Alpine version 22
|
||||
FROM node:22-alpine AS builder
|
||||
# Base image is node:22-slim, we cannot use node:22-alpine because of
|
||||
# a known issue for arm/v7 architecture (hangs on dependency installation)
|
||||
# see https://github.com/nodejs/docker-node/issues/2077
|
||||
FROM node:22-slim AS builder
|
||||
|
||||
# Set the working directory for the app
|
||||
WORKDIR /app
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user