Bonjour,
Je suis néophite et j'essaie d'installer le toolkit synology dans une image docker debian à partir des infos trouvées ici : https://help.synology.com/developer-guide/getting_started/prepare_environment.html. J'utilise docker en ligne de commande via apache guacamole afin de builder mes images.
l'image debian est la suivante : https://hub.docker.com/_/debian ou avec une image docker ubuntu: https://hub.docker.com/_/ubuntu
ça échoue plus tôt dans le EnvDeploy:
./EnvDeploy -v 7.0 -p geminilake
[2023-11-11 18:11:33,454] INFO: Download... https://dataupdate7.synology.com/toolchain/v1/get_download_list?identify=toolkit&version=7.0&platform=base
[2023-11-11 18:16:30,711] INFO: Download... https://dataupdate7.synology.com/toolchain/v1/get_download_list?identify=toolkit&version=7.0&platform=geminilake
[2023-11-11 18:19:57,787] INFO: tar -xhf /toolkit/toolkit_tarballs/base_env-7.0.txz -C /toolkit/build_env/ds.geminilake-7.0
tar (child): xz: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Traceback (most recent call last):
File "/toolkit/pkgscripts-ng/./EnvDeploy", line 77, in <module>
main(sys.argv[1:])
File "/toolkit/pkgscripts-ng/./EnvDeploy", line 71, in main
toolkit.deploy()
File "/toolkit/pkgscripts-ng/include/python/pkgdeploy.py", line 201, in deploy
self.deploy_base_env(platform)
File "/toolkit/pkgscripts-ng/include/python/pkgdeploy.py", line 242, in deploy_base_env
self.__extract__(
File "/toolkit/pkgscripts-ng/include/python/pkgdeploy.py", line 239, in __extract__
subprocess.check_call(cmd)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['tar', '-xhf', '/toolkit/toolkit_tarballs/base_env-7.0.txz', '-C', '/toolkit/build_env/ds.geminilake-7.0']' returned non-zero exit status 2.
root@e2a98110466b:/toolkit/pkgscripts-ng# ls -l /toolkit/toolkit_tarballs/base_env-7.0.txz
une idée de quoi faire ou de quelle image docker utiliser ?
Merci 🙂