mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-24 00:52:23 -04:00
* Fixed file pathing for automated docker builds * Added back in renaming the Kavita executable * Testing new method for copying wwwroot folder * Fixed file pathing * Fixed pathing to test * Potential fix for Docker file permissions Co-authored-by: Chris Plaatjes <chris.p@boxbrite.com> Co-authored-by: Boxbrite User <boxbrite@Rathalos.localdomain>
17 lines
359 B
Bash
Executable File
17 lines
359 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#Copies the correct version of Kavita into the image
|
|
|
|
set -xv
|
|
|
|
if [ "$TARGETPLATFORM" == "linux/amd64" ]
|
|
then
|
|
tar xf /files/kavita-linux-x64.tar.gz -C /
|
|
elif [ "$TARGETPLATFORM" == "linux/arm/v7" ]
|
|
then
|
|
tar xf /files/kavita-linux-arm.tar.gz -C /
|
|
elif [ "$TARGETPLATFORM" == "linux/arm64" ]
|
|
then
|
|
tar xf /files/kavita-linux-arm64.tar.gz -C /
|
|
fi
|