mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 05:56:10 +05:00
disabled armv6 and updated actions and golang (#201)
Co-authored-by: Yury Vaskaboinikau <yury_vaskaboinikau@epam.com>
This commit is contained in:
@@ -6,8 +6,9 @@ WORKDIR /app
|
||||
RUN yarn install && yarn run build
|
||||
### FRONT BUILD END ###
|
||||
|
||||
|
||||
### BUILD TORRSERVER MULTIARCH START ###
|
||||
FROM --platform=$BUILDPLATFORM golang:1.18-alpine as builder
|
||||
FROM --platform=$BUILDPLATFORM golang:1.19-alpine as builder
|
||||
|
||||
COPY . /opt/src
|
||||
COPY --from=front /app/build /opt/src/web/build
|
||||
@@ -42,6 +43,7 @@ RUN apt-get update && apt-get install -y upx-ucl && upx --best --lzma ./torrserv
|
||||
# && if [[ "$compress" -eq 1 ]]; then ./upx --best --lzma ./torrserver; fi
|
||||
### UPX COMPRESSING END ###
|
||||
|
||||
|
||||
### BUILD MAIN IMAGE START ###
|
||||
FROM alpine
|
||||
|
||||
|
||||
Reference in New Issue
Block a user