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

Upgrade alpine to 3.6 #468

Closed
tamalsaha opened this issue Jul 23, 2017 · 5 comments
Closed

Upgrade alpine to 3.6 #468

tamalsaha opened this issue Jul 23, 2017 · 5 comments

Comments

@tamalsaha
Copy link

Can the alpine base updated to 3.6 from 3.4? I am trying to install some additional packages and those are not available in 3.4.

@tianon
Copy link
Member

tianon commented Jul 31, 2017

See also #357, #360, and docker-library/golang#131 (comment) for where a change from 3.4 to 3.5 was made previously, where it was reverted, and the discussion that led to the revert. 😞

See also #408 and #457.

In some images, we've been adding explicit alpine3.6 variants, but we've been hesitant to add that to PHP given that it already has an enormous number of variants as it is (and they don't build particularly fast, either).

@tamalsaha
Copy link
Author

Thanks @tianon . I am pretty new to alpine, so I am still missing what are the issues. docker-library/golang#131 (comment) says, I'm worried this is going to break a bunch of downstreams... the switch from Alpine 3.4 to 3.5 is pretty significant.

Are there any links/docs that might explain what are the issues.

FWIW, I am installing PHP from alpine packages in a alpine 3.6 base image. That is working fine for me.

@yosifkit
Copy link
Member

yosifkit commented Aug 1, 2017

If users are apk installing other libraries to support their php application, those could be renamed or replaced from one alpine release to the next and if we move the image it would break their builds. We are working towards having a better way to opt in to major changes like this.

@regisbelson
Copy link

@tamalsaha If you don't want to have to maintain your own image you can also do this :

# rabbitmq-c-dev is not available in alpine 3.4 but it is in alpine 3.6
RUN apk add \
    --repository http://dl-cdn.alpinelinux.org/alpine/v3.6/main \
    --no-cache \
    rabbitmq-c-dev

Not sure whether it's a bad practice but it works for me.

@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

4 participants