Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: remove cgo

johnnyjoye6cd761787d0
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
index 84f97c754..016dd0e66 100644
--- a/.goreleaser.yaml
+++ b/.goreleaser.yaml
@@ -6,9 +6,7 @@ before:
- go mod tidy
builds:
- - env:
- - CGO_ENABLED=0
- main: ./bin/memos
+ - main: ./bin/memos
binary: memos
goos:
- linux
diff --git a/Dockerfile b/Dockerfile
index 8ebee92da..27abff472 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -17,7 +17,7 @@ WORKDIR /backend-build
COPY . .
COPY --from=frontend /frontend-build/web/dist /backend-build/server/router/frontend/dist
-RUN CGO_ENABLED=0 go build -o memos ./bin/memos/main.go
+RUN go build -o memos ./bin/memos/main.go
# Make workspace with above generated files.
FROM alpine:latest AS monolithic