Fix final Docker build error: switch builder to Debian-based image for SQLite compatibility
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 12m41s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 12m41s
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
# 1. Build Go Backend
|
# 1. Build Go Backend
|
||||||
FROM golang:1.22-alpine AS builder
|
FROM golang:1.22-bookworm AS builder
|
||||||
|
|
||||||
# SQLite 및 CGO 빌드에 필요한 패키지 설치
|
# Debian 기반 이미지는 빌드 도구가 이미 포함되어 있으므로 추가 설치 없이 진행합니다.
|
||||||
RUN apk add --no-cache gcc musl-dev
|
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user