fix build

This commit is contained in:
Graham Steffaniak committed 2025-09-09 16:12:05 -05:00
1 parent 8ef0435602
commit 3330468c1b
4 files changed
+10 -6

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
run: npm i && npm run build
working-directory: frontend
- name: Install OS Requirements
run: sudo apt update && sudo apt install -y upx build-essential musl-tools
run: sudo apt update && sudo apt install -y upx build-essential musl-tools libde265-dev libheif-dev
- uses: goto-bus-stop/setup-zig@v2
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
+7 -3
View File
@@ -8,15 +8,19 @@ Thank you for your interest in contributing to FileBrowser Quantum! This guide w
- **Node.js 18.0.0+** with npm 7.0.0+ (see `frontend/package.json`)
- **Docker** (optional, for containerized development)
- **Git**
- **libde265**: Required for HEIF/HEIC preview generation
- Ubuntu/Debian: `sudo apt-get install libde265-dev libheif-dev`
- macOS: `brew install libde265 libheif`
- Windows: Download from [github.com/strukturag/libde265](https://github.com/strukturag/libde265) or use `vcpkg install libheif`
### Required Tools
### Optional Tools
- **ffmpeg**: Required for video thumbnail generation
- **ffmpeg**: For media features (subtitles, thumbnails)
- Ubuntu/Debian: `sudo apt-get install ffmpeg`
- macOS: `brew install ffmpeg`
- Windows: Download from [ffmpeg.org](https://ffmpeg.org/download.html)
- **mupdf-tools**: Required for PDF preview generation
- **mupdf-tools**: For PDF preview generation
- Ubuntu/Debian: `sudo apt-get install mupdf-tools`
- macOS: `brew install mupdf-tools`
- Windows: Download from [mupdf.com](https://mupdf.com/downloads/)
+1 -1
View File
@@ -4,7 +4,7 @@ ARG VERSION
ARG REVISION
WORKDIR /app
COPY ./backend ./
RUN apk update && apk add --no-cache gcc musl-dev upx
RUN apk update && apk add --no-cache gcc musl-dev upx libde265-dev g++
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=greenteagc
RUN go build -tags mupdf,musl -ldflags="-w -s \
+1 -1
View File
@@ -3,7 +3,7 @@ ARG VERSION
ARG REVISION
WORKDIR /app
COPY ./backend ./
RUN apk update && apk add upx
RUN apk update && apk add upx libde265-dev g++
ENV GOEXPERIMENT=greenteagc
RUN go build -ldflags="-w -s \
-X 'github.com/gtsteffaniak/filebrowser/backend/common/version.Version=${VERSION}' \