wodby / php

Generic PHP docker container images
MIT License
155 stars 103 forks source link

Build errors with 7.x.x #69

Closed benosman closed 5 years ago

benosman commented 5 years ago

There seem to be build issues with php 7.x since the recent base image changes. I see the issues locally when building 7.3.1 and 7.3.2: whereas 7.3.0 is fine.

The following apk add command does not successfully run. https://github.com/wodby/php/blob/master/7/Dockerfile#L40-L79

This leaves many binaries such as sudo, su-exec missing and therefore the build stops running. If I change the base image to 7.3.0 the same dockerfile builds fine.

7.2 and 7.1 are also failing on Travis. https://travis-ci.org/wodby/php

csandanov commented 5 years ago

Fixed now, we needed to update packages since new base images rebased to Alpine 3.9. The build error did not show up because of the bug in apk https://bugs.alpinelinux.org/issues/9969