Dockerfile build failure due to missing libicu*.so files (and old apk-tools?)
Closed this issue · 3 comments
stephendonner commented
On master, I get the following when trying to build locally (same as Travis CI, currently):
docker build -t fxapom .
Stephens-MacBook-Pro:fxapom stephendonner$ docker build -t fxapom .
Sending build context to Docker daemon 410.6kB
Step 1/11 : FROM alpine:latest
---> 3fd9065eaf02
Step 2/11 : ENV MOZ_HEADLESS=1
---> Using cache
---> 8b9fe3bcedb3
Step 3/11 : RUN mkdir /opt
---> Using cache
---> f4fa0cebba65
Step 4/11 : RUN echo @testing http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
---> Using cache
---> a539c377ff6d
Step 5/11 : RUN apk --no-cache add curl firefox@testing gcc git libffi-dev musl-dev openssl-dev py3-pip python2-dev python3-dev
---> Running in ada57c9a1134
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
fetch http://nl.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
WARNING: This apk-tools is OLD! Some packages might not function properly.
ERROR: unsatisfiable constraints:
so:libicui18n.so.60 (missing):
required by:
firefox-58.0.1-r2[so:libicui18n.so.60]
firefox-58.0.1-r2[so:libicui18n.so.60]
firefox-58.0.1-r2[so:libicui18n.so.60]
firefox-58.0.1-r2[so:libicui18n.so.60]
firefox-58.0.1-r2[so:libicui18n.so.60]
firefox-58.0.1-r2[so:libicui18n.so.60]
firefox-58.0.1-r2[so:libicui18n.so.60]
firefox-58.0.1-r2[so:libicui18n.so.60]
so:libicuuc.so.60 (missing):
required by:
firefox-58.0.1-r2[so:libicuuc.so.60]
firefox-58.0.1-r2[so:libicuuc.so.60]
firefox-58.0.1-r2[so:libicuuc.so.60]
firefox-58.0.1-r2[so:libicuuc.so.60]
firefox-58.0.1-r2[so:libicuuc.so.60]
firefox-58.0.1-r2[so:libicuuc.so.60]
firefox-58.0.1-r2[so:libicuuc.so.60]
firefox-58.0.1-r2[so:libicuuc.so.60]
The command '/bin/sh -c apk --no-cache add curl firefox@testing gcc git libffi-dev musl-dev openssl-dev py3-pip python2-dev python3-dev' returned a non-zero code: 3
stephendonner commented
Looks like this is from https://git.alpinelinux.org/cgit/aports/commit/testing/firefox/APKBUILD?id=b6ef816bf9226880f7543327efaaef09b8d58e04
I've tried various things, like apk add icu-libs icu-dev
to no avail.
Advice in #alpine-linux on freenode advised us to "switch to full edge," but I'm not sure we want to, nor can, even, do so?
stephendonner commented
Fixed by aa0fa5f
ShoaibIqbal452 commented
i am using python3.6-alpine3.8 adn i am having same issue. if anyone has a solution please share.