Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: remove docker build sqlite-compatible commands
Browse files Browse the repository at this point in the history
Mmx233 committed Jun 9, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 2fa7e3d commit e539001
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions build.sh
Original file line number Diff line number Diff line change
@@ -85,14 +85,7 @@ BuildDev() {
cat md5.txt
}

PrepareBuildDocker() {
echo "replace github.com/mattn/go-sqlite3 => github.com/leso-kn/go-sqlite3 v0.0.0-20230710125852-03158dc838ed" >>go.mod
go get gorm.io/driver/[email protected]
go mod download
}

BuildDocker() {
PrepareBuildDocker
go build -o ./bin/alist -ldflags="$ldflags" -tags=jsoniter .
}

@@ -110,7 +103,7 @@ PrepareBuildDockerMusl() {
}

BuildDockerMultiplatform() {
PrepareBuildDocker
go mod download

# run PrepareBuildDockerMusl before build
export PATH=$PATH:$PWD/build/musl-libs/bin

0 comments on commit e539001

Please sign in to comment.