From 79882715d8c22538e0775b8f76ce047bbd7f8f68 Mon Sep 17 00:00:00 2001 From: Matt Raymer Date: Tue, 20 May 2025 23:07:49 -0400 Subject: [PATCH] fix: update Alpine version to 3.20 for stable package repositories - Change base image from node:22-alpine to node:22-alpine3.20 - Resolves package installation issues with Alpine 3.21 repositories - Ensures stable access to build dependencies (python3, gcc, etc.) This change fixes the Docker build process by using a more stable version of Alpine Linux that has reliable package repositories. --- Dockerfile | 2 +- package-lock.json | 12 ++++++------ src/components/ImageMethodDialog.vue | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6984b206..197ab9c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build stage -FROM node:22-alpine AS builder +FROM node:22-alpine3.20 AS builder # Install build dependencies diff --git a/package-lock.json b/package-lock.json index fce02999..74517e6d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8764,9 +8764,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.17.48", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.48.tgz", - "integrity": "sha512-KpSfKOHPsiSC4IkZeu2LsusFwExAIVGkhG1KkbaBMLwau0uMhj0fCrvyg9ddM2sAvd+gtiBJLir4LAw1MNMIaw==", + "version": "20.17.50", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.50.tgz", + "integrity": "sha512-Mxiq0ULv/zo1OzOhwPqOA13I81CV/W3nvd3ChtQZRT5Cwz3cr0FKo/wMSsbTqL3EXpaBAEQhva2B8ByRkOIh9A==", "dependencies": { "undici-types": "~6.19.2" } @@ -27594,9 +27594,9 @@ } }, "node_modules/zod": { - "version": "3.25.7", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.7.tgz", - "integrity": "sha512-YGdT1cVRmKkOg6Sq7vY7IkxdphySKnXhaUmFI4r4FcuFVNgpCb9tZfNwXbT6BPjD5oz0nubFsoo9pIqKrDcCvg==", + "version": "3.25.12", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.12.tgz", + "integrity": "sha512-A8e9eiwm2L5YEupdjn1YcxL1ZDWuL3Bc4JKvLwUrpKZZtRUDOijR7XXsV5WMuUCZPc1tFYO5yfH14STI08MquA==", "funding": { "url": "https://github.com/sponsors/colinhacks" } diff --git a/src/components/ImageMethodDialog.vue b/src/components/ImageMethodDialog.vue index 0e56ee75..d3d845ee 100644 --- a/src/components/ImageMethodDialog.vue +++ b/src/components/ImageMethodDialog.vue @@ -232,7 +232,7 @@ export default class ImageMethodDialog extends Vue { * @throws {Error} When settings retrieval fails */ async mounted() { - console.log("ImageMethodDialog mounted"); + logger.log("ImageMethodDialog mounted"); try { const settings = await retrieveSettingsForActiveAccount(); this.activeDid = settings.activeDid || "";