Change-Id: I7d478de20bf92a0e7b24be4e8a69aea3aa8d691a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
FROM ubuntu:16.04
RUN apt-get update && \
- DEBIAN_FRONTEND=noninteractive apt-get -y install git make && \
- DEBIAN_FRONTEND=noninteractive apt-get -y install python python-stdeb python-pip libmysqlclient-dev libssl-dev libffi-dev && \
+ DEBIAN_FRONTEND=noninteractive apt-get -y install git build-essential && \
+ DEBIAN_FRONTEND=noninteractive apt-get -y install python python-dev python-all python-stdeb fakeroot pypi2deb && \
+ DEBIAN_FRONTEND=noninteractive apt-get -y install python-pip libmysqlclient-dev libssl-dev libffi-dev && \
DEBIAN_FRONTEND=noninteractive pip install --upgrade pip && \
DEBIAN_FRONTEND=noninteractive pip install --upgrade setuptools && \
DEBIAN_FRONTEND=noninteractive apt-get -y install python-argcomplete python-boto python-bottle python-jsonschema python-logutils python-cinderclient python-glanceclient python-keystoneclient python-neutronclient python-novaclient python-mysqldb
sh '''
mkdir -p pool/RO
mv .build/*.deb pool/RO/
- mkdir -p dists/$RELEASE/unstable/RO/binary-amd64/
- apt-ftparchive packages pool/RO > dists/$RELEASE/unstable/RO/binary-amd64/Packages
- gzip -9fk dists/$RELEASE/unstable/RO/binary-amd64/Packages
+ mkdir -p dists/ReleaseOne/unstable/RO/binary-amd64/
+ apt-ftparchive packages pool/RO > dists/ReleaseOne/unstable/RO/binary-amd64/Packages
+ gzip -9fk dists/ReleaseOne/unstable/RO/binary-amd64/Packages
'''
archiveArtifacts artifacts: "dists/**,pool/RO/*.deb"
}