Vincent Llorens 2e15008a9e fix required packages when packaging
- ubuntu Dockerfile didn't have the Ubuntu OpenStack repository.

- required version of setuptools was too high wrt the versions
  available for CentOS and Ubuntu.

Change-Id: I7ab657e53e48658c08c02020256be97cd5d3af66
Sem-Ver: bugfix
2016-10-18 13:04:42 +02:00

20 lines
673 B
Docker

FROM ubuntu:14.04
MAINTAINER Vincent Llorens <vincent.llorens@cc.in2p3.fr>
RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository cloud-archive:liberty
RUN apt-get update \
&& apt-get install -y build-essential \
debhelper \
devscripts \
dh-systemd \
git-core \
python-all \
python-pbr \
python-setuptools
RUN mkdir /tmp/synergy-service
RUN useradd -m -p pkger pkger
USER pkger
COPY build.sh /home/pkger/build.sh
WORKDIR /home/pkger
CMD bash build.sh