Docker-alpine: Any plan to build docker-alpine based on alpine 3.8?

Created on 1 Jun 2018  ·  6Comments  ·  Source: gliderlabs/docker-alpine

Recently alpine 3.8 came out. Is there any plan to build a new docker image for alpine 3.8.

I found I can't build grpc on alpine 3.7. the version of "binutils" is still 2.28. So the "ld" tool does not support certain options like "-Wl", while 2.30 can support that.

So it will be great if I can get a 3.8 alpine docker.

Most helpful comment

While waiting for the official alpine:3.8 I´d recommend something like:
Dockerfile RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.8/main' > /etc/apk/repositories \ && echo 'http://dl-cdn.alpinelinux.org/alpine/v3.8/community' >> /etc/apk/repositories \ && apk upgrade -U -a

All 6 comments

Alpine 3.8 is not released yet: https://alpinelinux.org

用 3.7 版本的包,真的太旧啦,edge 版本不敢用,等 3.8 维稳在升级呗。

3.8 is released now.

https://alpinelinux.org/posts/Alpine-3.8.0-released.html

@subjectxbj you can use alpine edge for that instead of alpine latest, or add the edge repos in your dockerfile. In mountainr dockerfiles, I use:

RUN echo '@edge http://nl.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories \ 
    && echo '@edge http://nl.alpinelinux.org/alpine/edge/main' >> etc/apk/repositories \
    && apk add --upgrade --no-cache apk-tools@edge

RUN ["apk", "add", "binutils@edge"]

More info:

https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management#Repository_pinning

You should check your settings, bcs according to the package database, binutils is version 2.30 in alpine 3.7:

https://pkgs.alpinelinux.org/package/v3.7/main/x86_64/binutils

While waiting for the official alpine:3.8 I´d recommend something like:
Dockerfile RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.8/main' > /etc/apk/repositories \ && echo 'http://dl-cdn.alpinelinux.org/alpine/v3.8/community' >> /etc/apk/repositories \ && apk upgrade -U -a

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sirhopcount picture sirhopcount  ·  3Comments

kooksee picture kooksee  ·  4Comments

mterzo picture mterzo  ·  4Comments

dniku picture dniku  ·  4Comments

nrvnrvn picture nrvnrvn  ·  4Comments