fix: try to fix docker build error

This commit is contained in:
JustSong
2025-02-01 11:56:23 +08:00
parent c351e196e6
commit c67b167f4f
3 changed files with 8 additions and 11 deletions

View File

@@ -14,10 +14,7 @@ RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat /web/default/VERSION) n
DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat /web/air/VERSION) npm run build --prefix /web/air & \
wait
FROM golang:alpine AS builder2
RUN apk add --no-cache g++
RUN apk add --no-cache gcc musl-dev libc-dev sqlite-dev build-base
FROM golang AS builder2
ENV GO111MODULE=on \
CGO_ENABLED=1 \