Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

288
Vistas
DockerFile / Switch from ubuntu:latest to alpine:3.3

I create my own docker file with the following, and everything works well:

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

Now I try to switch to FROM alpine:3.3, so I wrote the following

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

But it gives me the following:

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]

What can be the reason?

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Use frolvlad/alpine-python2 image.

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

And tox you can do install via pip

about 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda