seafile : fix? build image 2/x
This commit is contained in:
parent
5316690654
commit
f49ef4fabc
|
@ -16,7 +16,7 @@ if ! podman image exists ${seafile_image}:${seafile_release}; then
|
|||
sed_in_place "SEAFILE_VERSION=" "SEAFILE_VERSION=${seafile_release}" ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile &&
|
||||
sed_in_place "pip -i https://pypi.tuna.tsinghua.edu.cn/simple/" "pip" ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile &&
|
||||
sed_in_place " -i https://pypi.tuna.tsinghua.edu.cn/simple/" " " ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile &&
|
||||
sed_in_place 'wget https://seafile-downloads.oss-cn-shanghai.aliyuncs.com/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz' 'wget -q https://github.com/haiwen/seafile-server/archive/refs/tags/v${SEAFILE_VERSION}-server.tar.gz -O seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz' ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile &&
|
||||
sed_in_place 'wget https://seafile-downloads.oss-cn-shanghai.aliyuncs.com/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz' 'wget -q https://s3.eu-central-1.amazonaws.com/download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz' ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile &&
|
||||
sed_in_place 'tar -zxvf seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz' 'tar -zxf seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz --strip-components=1' ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile &&
|
||||
podman build -t ${seafile_image}:${seafile_release} \
|
||||
-f ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile \
|
||||
|
|
Loading…
Reference in a new issue