1
0
forked from boos/BoosAPI

Use armv7-compatible Node Docker base

This commit is contained in:
ciat-777
2026-03-21 00:59:23 +08:00
parent 1ce036fd46
commit 89282093a9
2 changed files with 9 additions and 2 deletions
+7
View File
@@ -24,4 +24,11 @@ describe('docker workflows', () => {
expect(ciWorkflow).toContain('platforms: linux/arm/v7');
expect(ciWorkflow).toContain('push: false');
});
it('uses an armv7-capable node base image in the Dockerfile', () => {
const dockerfile = readFileSync(resolve(process.cwd(), 'docker/Dockerfile'), 'utf8');
expect(dockerfile).toContain('FROM node:22-bookworm-slim AS builder');
expect(dockerfile).toContain('FROM node:22-bookworm-slim');
});
});