diff --git a/.goreleaser.yml b/.goreleaser.yml index 97588e83..5db4029a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -79,3 +79,29 @@ dockers: - "filebrowser/filebrowser:v{{ .Major }}-pi" extra_files: - .docker.json + - + dockerfile: Dockerfile.alpine + binaries: + - filebrowser + goos: linux + goarch: amd64 + goarm: '' + image_templates: + - "filebrowser/filebrowser:alpine" + - "filebrowser/filebrowser:{{ .Tag }}-apline" + - "filebrowser/filebrowser:v{{ .Major }}-alpine" + extra_files: + - .docker.json + - + dockerfile: Dockerfile.debian + binaries: + - filebrowser + goos: linux + goarch: amd64 + goarm: '' + image_templates: + - "filebrowser/filebrowser:debian" + - "filebrowser/filebrowser:{{ .Tag }}-debian" + - "filebrowser/filebrowser:v{{ .Major }}-debian" + extra_files: + - .docker.json diff --git a/Dockerfile.alpine b/Dockerfile.alpine new file mode 100644 index 00000000..e5d35107 --- /dev/null +++ b/Dockerfile.alpine @@ -0,0 +1,11 @@ +FROM alpine:latest as alpine +RUN apk --update add ca-certificates +RUN apk --update add mailcap + +VOLUME /srv +EXPOSE 80 + +COPY .docker.json /.filebrowser.json +COPY filebrowser /filebrowser + +ENTRYPOINT [ "/filebrowser" ] diff --git a/Dockerfile.debian b/Dockerfile.debian new file mode 100644 index 00000000..42f120d5 --- /dev/null +++ b/Dockerfile.debian @@ -0,0 +1,9 @@ +FROM debian:buster + +VOLUME /srv +EXPOSE 80 + +COPY .docker.json /.filebrowser.json +COPY filebrowser /filebrowser + +ENTRYPOINT [ "/filebrowser" ]