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

Dev #3

Closed
wants to merge 8 commits into from
Closed

Dev #3

wants to merge 8 commits into from

Conversation

angeldanielboscan
Copy link

No description provided.

@luiselizondo
Copy link
Member

This doesn't solve the main problem commented at #1 (comment). It just removes the mail support (which I was planning anyway) and the apt-get clean, but at the same time, you didn't remove /tmp and other temporary files which should not be necessary.

I already worked on a fix that does the same things, I'm still testing and I'll publish this week.

@luiselizondo luiselizondo reopened this May 16, 2016
@angeldanielboscan
Copy link
Author

I made a pull request by mistake my friend, no intended to solve any issue yet.

But now that you're on the thread, It will be good to have a glimpse on that fix so I can test and assist myself

ca-certificates \
openssl \
sendmail --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removal of unnecessary files

@luiselizondo
Copy link
Member

Basically you need to upgrade to Docker 1.11 to have this issue, you can read about the problem at: docker-library/php#74 and the solution is to use clear_env = no on the PHP configuration, the problem is that the PHP version included with Ubuntu 14.04 does not support the clean_env opiton, so you need to upgrade PHP somehow. I'm away from the computer with the commit but I'll post it by this afternoon.

@angeldanielboscan
Copy link
Author

The removal of unnecessary files is in line 40

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

Successfully merging this pull request may close these issues.

3 participants