Closed cwacekINV closed 7 years ago
what does your Dockerfile look like, wondering if you're missing some apt-get stuff. my Vagrantfile looks like (and not sure why it didn't make it into the repo) .. ignore the py3 deps:
#e -*- mode: ruby -*-
# vi: set ft=ruby :
# This will setup a clean Ubuntu1404 LTS env
$script = <<SCRIPT
add-apt-repository ppa:fkrull/deadsnakes-python2.7
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo add-apt-repository ppa:cython-dev/master-ppa
apt-get update
apt-get install -y python3.5 python3.5-dev python-pip python-dev python3-dev git htop virtualenvwrapper python2.7 python-virtualenv python-support cython git build-essential libtool pkg-config autotools-dev autoconf automake cmake libpcre3-dev valgrind libffi-dev zip uuid-dev
SCRIPT
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
VAGRANTFILE_LOCAL = 'Vagrantfile.local'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = 'ubuntu/trusty64'
config.vm.provision "shell", inline: $script
config.vm.provider :virtualbox do |vb, override|
vb.customize ["modifyvm", :id, "--cpus", "2", "--ioapic", "on", "--memory", "512" ]
end
config.vm.provider :aws do |aws|
aws.tags = { 'Name' => 'pyzyre' }
end
if File.file?(VAGRANTFILE_LOCAL)
external = File.read VAGRANTFILE_LOCAL
eval external
end
end
also, just added it.. can add a docker one too as a template..
Fails on 14.04 as well. Here's the Dockerfile:
FROM ubuntu:14.04
RUN apt-get update && apt-get install -y python python-dev build-essential libuuid1 uuid-dev python-pip
RUN pip install -U pip wheel setuptools
COPY . /build
RUN pip install -r build/requirements.txt
WORKDIR /build
RUN python setup.py build_ext
Platform: Linux 425c93cbeacd 4.4.27-moby #1 SMP Wed Oct 26 14:21:29 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Distro: Ubuntu 16.04 (from Docker ubuntu:16.04 image)
Error: