fix: remove CGO from build
This commit is contained in:
parent
974ef4a1ff
commit
2b4e9494a7
2 changed files with 2 additions and 2 deletions
|
@ -19,4 +19,4 @@ steps:
|
||||||
- npm install
|
- npm install
|
||||||
- npx playwright install
|
- npx playwright install
|
||||||
- npx playwright test
|
- npx playwright test
|
||||||
- cat /root/.npm/_logs/*
|
- cat /root/.npm/_logs/
|
||||||
|
|
|
@ -4,7 +4,7 @@ FROM golang:1.24 AS build
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
RUN go build -o miniauth ./
|
RUN CGO_ENABLED=0 go build -o miniauth ./
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine
|
||||||
COPY --from=build /usr/src/app/miniauth /miniauth
|
COPY --from=build /usr/src/app/miniauth /miniauth
|
||||||
|
|
Loading…
Add table
Reference in a new issue