Closed matriphe closed 9 years ago
By the way, I modified the Docker file, using phusion/baseimage:0.9.16.
Don't know what's going on, but I change the RUN add-apt-repository -y ppa:ondrej/php5
line and it's worked.
RUN touch /etc/apt/sources.list.d/ondrej-php5.list
RUN echo "deb http://ppa.launchpad.net/ondrej/php5/ubuntu trusty main" >> /etc/apt/sources.list.d/ondrej-php5.list
RUN echo "deb-src http://ppa.launchpad.net/ondrej/php5/ubuntu trusty main" >> /etc/apt/sources.list.d/ondrej-php5.list
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C
Hope it's helped someone who had same issue.
That's interesting, thanks!
Sorry for the huge delay in getting back to you on this :/
I can update this repo for that (I don't use this repo anymore, so I don't modify it much).
@fideloper please reopen this ticket. I'm having this issue with phusion/baseimage:0.9.18
This is really old and for the most part unmaintained - i don’t have the time unfortunately. I won’t be looking into the issue, but I can leave this open if you really want.
On Tue, Jan 12, 2016 at 3:28 PM Bruno Galindro da Costa < notifications@github.com> wrote:
@fideloper https://github.com/fideloper please reopen this ticket. I'm having this issue with phusion/baseimage:0.9.18
— Reply to this email directly or view it on GitHub https://github.com/fideloper/docker-nginx-php/issues/15#issuecomment-171062229 .
No no... I have put my comment because I was thinking that this could be important to this project. I've fixed using the @matriphe proposed solution using apt-key
Sounds good!
On Wed, Jan 13, 2016 at 4:53 AM, Bruno Galindro da Costa < notifications@github.com> wrote:
No no... I have put my comment because I was thinking that this could be important to this project. I've fixed using the @matriphe https://github.com/matriphe proposed solution using apt-key
— Reply to this email directly or view it on GitHub https://github.com/fideloper/docker-nginx-php/issues/15#issuecomment-171253162 .
Try this; LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
@natgho-reidin It works. Your solution saved my day!
@natgho-reidin , yes it worked. Thanks
"LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php" worked for me too , but i did not get why ?
because the owner of the php ppa, while awesome of him to contribute to the eco with his stable packages, does not wish to provide the package meta data in a format that's supported by ubuntu. It's his repo, his work and of course his name and he's allowed to do whatever he wants; regardless if it helps the people who use it. we're always free to create our own and not use his packages.
devs reasoning: https://github.com/oerdnj/deb.sury.org/issues/56
RUN apt-get -y install locales
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN add-apt-repository -y ppa:ondrej/php
I got this error when building this on
add-apt-repository -y ppa:ondrej/php5
. Here's the error:Is this issue came from phusion/baseimage?