Alpine Linux Docker installation lxml error resolution.

Source: Internet
Author: User

I used to use Alpine to deploy services in Docker.

tiangolo/uwsgi-nginx-flask:python3.6-alpine3.7 This image was recently used when deploying flask

Someone else wrote the flask image, which includes the Uwsgi Nginx

It's easy to use.

However, it is always not installed when installing the lxml library.

Multiple queries.

Discover that the system library in the mirror is missing something.

RUN apk add--no-cache gcc musl-dev libxslt-dev

Installing GCC Musl-dev Libxslt-dev

You can do it.

Don't ask me anything about CentOS Ubuntu, I don't know.

Alpine Linux Docker installation lxml error resolution.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.