seafile : fix? build image
This commit is contained in:
parent
2da2c34c8a
commit
5316690654
|
@ -17,7 +17,7 @@ if ! podman image exists ${seafile_image}:${seafile_release}; then
|
||||||
sed_in_place "pip -i https://pypi.tuna.tsinghua.edu.cn/simple/" "pip" ${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 " -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://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 "tar -zxvf" "tar -zxf" ${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} \
|
podman build -t ${seafile_image}:${seafile_release} \
|
||||||
-f ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile \
|
-f ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile \
|
||||||
${buildfolder} &&
|
${buildfolder} &&
|
||||||
|
|
Loading…
Reference in a new issue