-
Notifications
You must be signed in to change notification settings - Fork 784
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update docker container based on opensuse leap to cross build to windows
Signed-off-by: Matthieu Gallien <[email protected]>
- Loading branch information
Showing
1 changed file
with
8 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1ae9094
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @mgallien , I have recently been studying how to build Windows Client Installer and see you recently update this Dockerfile.
I tried using the following instruction at:https://docs.nextCloud.com/desktop/lading.html #windows-installer-i- E-Deployment -Build-Cross-compile here
I am trying to build the Dockerfile located in
desktop/admin/win/docker
. Here are the commands I used:sudo docker build . -t nextcloud-client-win32:master
To run the Docker image in
desktop
:sudo docker run -v "$PWD:/home/user/client" nextcloud-client-win32:master /home/user/client/admin/win/docker/build.sh client/ $(id -u)
During the compilation process, I encountered the following error message:
It seems that the incorrect version of OpenSSL (1.0.2) was installed instead of the required version (1.1 or above).
My virtual machine's operating system is Ubuntu 20.04. Can you please help me fix this problem?
1ae9094
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dingjunzhe as far as I can say, cross compiling the files desktop client from linux to windows is currently not working and I have not time to improve this
I highly recommend using native windows to build for windows unless you are prepared to take this docker file and fix remaining issues I have not addressed
sorry but but you are on your own
1ae9094
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I appreciate this is an old comment, but I too have been fighting with this issue for the past few weeks.
I have however managed to get successful builds after modifying the image/Dockerfile somewhat so once I've got this tidied up I'll submit a PR for an updated Dockerfile.
Lee