From 2dab67dcc65b962049e48725ce135b06e4cd94bf Mon Sep 17 00:00:00 2001 From: AI Assistant Date: Thu, 12 Mar 2026 14:40:06 +0900 Subject: [PATCH] Fix final Docker build error: switch builder to Debian-based image for SQLite compatibility --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c121907..3f43517 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,7 @@ # 1. Build Go Backend -FROM golang:1.22-alpine AS builder +FROM golang:1.22-bookworm AS builder -# SQLite 및 CGO 빌드에 필요한 패키지 설치 -RUN apk add --no-cache gcc musl-dev +# Debian 기반 이미지는 빌드 도구가 이미 포함되어 있으므로 추가 설치 없이 진행합니다. WORKDIR /build