-
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.
Docker: Scanner: Move to alpine to get a newer ffmpeg version
- Loading branch information
1 parent
d011e3f
commit 8ee4de8
Showing
2 changed files
with
7 additions
and
7 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"] |