-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scanner: Remove black bars on thumbnails (#810)
* Scanner: Crop black bars on thumbnails * Docker: Scanner: Move to alpine to get a newer ffmpeg version
- Loading branch information
1 parent
7fe4de6
commit 95dc125
Showing
3 changed files
with
110 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
FROM golang:1.22.6-bullseye | ||
FROM golang:1.22.6-alpine | ||
RUN go install github.com/bokwoon95/wgo@latest | ||
RUN go install github.com/swaggo/swag/cmd/swag@latest | ||
RUN apt-get update -y; apt-get install -y ffmpeg libchromaprint-tools libchromaprint-dev libfftw3-dev | ||
|
||
RUN apk update && apk upgrade && apk add ffmpeg chromaprint mailcap | ||
WORKDIR /app | ||
|
||
CMD ["wgo", "-xdir", "./app/docs", "swag", "init", "-d", "app", "-o", "./app/docs", "::", "go", "run", "./app"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters