Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin base image to Debian Buster; update libboost version accordingly #311

Merged

Conversation

juhoinkinen
Copy link
Member

Drone builds (e.g. https://drone.kansalliskirjasto.fi/NatLibFi/Annif/118/1/2) were failing with error:

Package libboost-python1.62.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package libboost-program-options1.62.0
E: Couldn't find any package by glob 'libboost-program-options1.62.0'
E: Couldn't find any package by regex 'libboost-program-options1.62.0'
E: Package 'libboost-python1.62.0' has no installation candidate
E: Unable to locate package libboost-system1.62.0
E: Couldn't find any package by glob 'libboost-system1.62.0'
E: Couldn't find any package by regex 'libboost-system1.62.0'

This (apparently) was due to that the base image python:3.7-slim was updated ten days ago in Docker Hub from Debian Stretch to Debian Buster, and the above 1.62.0 versions of libboost were not available to install. (Also, builds in my local machine were all the time successful for some reason.)

This fixes the drone builds by updating the libboost packages to 1.67 that are available in Buster, to which the base image is also pinned (also the python version pinning is relaxed from 3.7 to 3, to allow possibly more frequent security updates).

@juhoinkinen juhoinkinen merged commit 1877f40 into master Aug 9, 2019
@osma osma added this to the 0.42 milestone Aug 9, 2019
@juhoinkinen juhoinkinen deleted the fix-drone-build-pin-base-image-to-debian-buster branch August 12, 2019 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants