[FOLIO-1889] SPIKE: Find new source for Java 8 for Vagrant builds Created: 22/Mar/19 Updated: 03/Jun/20 Resolved: 22/Mar/19 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Bug | Priority: | P1 |
| Reporter: | Wayne Schneider | Assignee: | Wayne Schneider |
| Resolution: | Done | Votes: | 0 |
| Labels: | ci, platform-backlog | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||||||||||||||
| Sprint: | Core: Platform - Sprint 59 | ||||||||||||||||||||
| Story Points: | 3 | ||||||||||||||||||||
| Development Team: | Core: Platform | ||||||||||||||||||||
| Description |
|
Debian Jessie is the current basis for the Vagrant boxes. It does not have support for OpenJDK 8, except through backports. Jessie backports were announced as end of life in July, 2018 (https://lists.debian.org/debian-backports-announce/2018/07/msg00000.html), and they have been removed from the Debian apt repository as of March 21, 2019. With this change, no Vagrant boxes can be built. |
| Comments |
| Comment by Wayne Schneider [ 22/Mar/19 ] |
|
Other possible solutions:
|
| Comment by Adam Dickmeiss [ 22/Mar/19 ] |
|
Suddenly
|
| Comment by Jakub Skoczen [ 22/Mar/19 ] |
|
Wayne Schneider can you elaborate on the solution with running Okapi in a container? |
| Comment by Wayne Schneider [ 22/Mar/19 ] |
|
Okapi is currently run in our reference environments using the released Debian package, which runs the fat JAR using the system Java. We could instead use the released container of Okapi. It would take some testing to get the configuration right, of course. |
| Comment by John Malconian [ 22/Mar/19 ] |
|
Ubuntu 18 LTS might be the easiest path here. |
| Comment by Julian Ladisch [ 22/Mar/19 ] |
|
The Vagrant boxes are also used as reference development environments where a developer should be able to build any back-end module. |
| Comment by Wayne Schneider [ 22/Mar/19 ] |
|
steve.osguthorpe also suggests looking at https://aws.amazon.com/corretto/ |
| Comment by Wayne Schneider [ 22/Mar/19 ] |
|
Thanks, all, for the input. I think the best path forward short term is to change the base Vagrant image for our Vagrant boxes to either Debian Stretch (maintenance support through June 2024), Ubuntu 16.04 (maintenance support through April 2021) or Ubuntu 18.04 (maintenance support through April 2023) – all of which offer OpenJDK-based Java 8 as a package in their main repos. Other sources for Java 8 (SDKMAN, AdoptOpenJDK, Amazon Corretto) would make automated installation considerably more complicated (though not impossible, of course). Feel free to comment further on the issue if you have other questions or concerns. |
| Comment by Wayne Schneider [ 22/Mar/19 ] |
|
Debian Stretch has a challenge of too small a root partition in the base Vagrant image (we had the same challenge with Jessie, had to make an awkward workaround), testing now with Ubuntu 18.04. We know Ubuntu 16.04 will work, as that is the current reference platform on AWS. |
| Comment by Wayne Schneider [ 22/Mar/19 ] |
|
Conclusion: the best short term solution is to change the base image to Ubuntu 16.04, as Ubuntu 18.04 does not work with the older docker-engine packages we are using. Created
|