cryptomator / docker

Docker containers to build Cryptomator packages
https://hub.docker.com/r/cryptomator/
MIT License
14 stars 9 forks source link

Fails to build cryptomator 1.4.0-beta1 and the continous releases #2

Open pquan opened 6 years ago

pquan commented 6 years ago

The build for anything beyond 1.3.0-rc1 fails with Buildfile: /home/build.xml [taskdef] Could not load definitions from resource com/sun/javafx/tools/ant/antlib.xml. It could not be found.

It would be nice to be able to build any version from source.

overheadhunter commented 6 years ago

What build container did you use?

pquan commented 6 years ago

I'm using the cryptomator-dev-x64 (on bionic 18.04 if that matters). Update the Dockerfile with CRYPTOMATOR_VERSION=1.4.0-beta1 Then

$docker build . -t testing
$ docker run --name testing testing
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   603    0   603    0     0    875      0 --:--:-- --:--:-- --:--:--  1213
100 10.8M  100 10.8M    0     0  2852k      0  0:00:03  0:00:03 --:--:-- 4106k
Buildfile: /home/build.xml
  [taskdef] Could not load definitions from resource com/sun/javafx/tools/ant/antlib.xml. It could not be found.

BUILD FAILED
/home/build.xml:6: Problem: failed to create task or type javafx:com.sun.javafx.tools.ant:application
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet

Total time: 0 seconds

Also using the "continuous" build gives the same error (substitute 1.4.0-beta1 with continuous).

overheadhunter commented 6 years ago

1.4.0+ will no longer work on these containers, we're using appimages and do not intend to publish .deb or .rpm files.

But 1.3.0-rc1 until 1.3.5 should work just fine.