Skip to content

debian stretch update #457

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

Closed
Nemo64 opened this issue Jun 27, 2017 · 3 comments
Closed

debian stretch update #457

Nemo64 opened this issue Jun 27, 2017 · 3 comments

Comments

@Nemo64
Copy link

Nemo64 commented Jun 27, 2017

This is probably huge but I ask anyways.
Is there any plan to update to debian 9 (stretch)?

I have to work with typo3 which now requires libpcre3 in version 8.38 (the old version actually creates segment faults).
Quick search reveals: yep, jessie has only 8.35.

I have tried it with the alpine image and that one works but i feel more comfortable with debian so I'd prefer that.

@Nemo64
Copy link
Author

Nemo64 commented Jul 2, 2017

If someone has the same problem with libpcre3, i have a workaround using package pinning:

create a source.list file:

deb http://deb.debian.org/debian stretch main

and a source.preference file:

Package: libpcre3
Pin: release a=stretch
Pin-Priority: 1000

Package: *
Pin: release a=stretch
Pin-Priority: 1

And add this to your Dockerfile

COPY source.list /etc/apt/sources.list.d/source.list
COPY source.preference /etc/apt/preferences.d/source

So now, if you try to install libpcre3, it will be downloaded from the stretch release. So now you just need to install the newer libpcre (preferably in your existing apt-get install command)
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y libpcre3 libpcre3-dev

I haven't found something breaking yet but package pinning (especially with libraries) is a bit of an adventure so be careful.

@tianon
Copy link
Member

tianon commented Jul 5, 2017

See #448.

I think #360 and docker-library/golang#131 (comment) are also relevant (since a Debian version bump is going to be a similar situation). 😞

@yosifkit
Copy link
Member

yosifkit commented Oct 3, 2017

Closing in favor of discussion to create base distro update process #504.

@yosifkit yosifkit closed this as completed Oct 3, 2017
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

No branches or pull requests

3 participants