Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

286
Views
DockerFile / Cambiar de ubuntu: más reciente a alpine: 3.3

Creo mi propio archivo docker con lo siguiente, y todo funciona bien:

 FROM ubuntu:latest apt-get update && apt-get upgrade -y RUN apt-get -y install libxml2-dev libxslt1-dev python-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev python-pip python-setuptools python2.7 git tox

Ahora trato de cambiar a FROM alpine:3.3 , así que escribí lo siguiente

 FROM alpine:3.3 RUN apk add --no-cache libxml2-dev libxslt1-dev python-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev python-pip python-setuptools python2.7 git tox

Pero me da lo siguiente:

 fetch http://dl-cdn.alpinelinux.org/alpine/v3.3/community/x86_64/APKINDEX.tar.gz ERROR: unsatisfiable constraints: build-essential (missing): required by: world[build-essential] libssl-dev (missing): required by: world[libssl-dev] libxslt1-dev (missing): required by: world[libxslt1-dev] python-pip (missing): required by: world[python-pip] python-setuptools (missing): required by: world[python-setuptools] python2.7 (missing): required by: world[python2.7] tox (missing): required by: world[tox] zlib1g-dev (missing): required by: world[zlib1g-dev]

cual puede ser la razon?

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Utilice la imagen frolvlad/alpine-python2 .

FROM frolvlad/alpine-python2 RUN apk add --update alpine-sdk \ libxml2-dev \ libxslt-dev \ python-dev \ openssl-dev \ libffi-dev \ zlib-dev \ py-pip

Y tox puedes hacer la instalación a través de pip

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!