Update synergy service packaging

This fix updates the packaging of synergy service making it compliant with the indigo-2 requirements.

Change-Id: Ide701fe90c23eb4375bcdf9ff9bfd010cd7290ac
Sem-Ver: bugfix
This commit is contained in:
ervin 2017-03-20 18:13:15 +01:00
parent 88e56e5d50
commit 0d84f532d8
4 changed files with 11 additions and 11 deletions

View File

@ -4,8 +4,8 @@ Packaging
Packaging for Ubuntu and CentOS using Docker Packaging for Ubuntu and CentOS using Docker
-------------------------------------------- --------------------------------------------
We provide Dockerfiles for CentOS 7 and Ubuntu 14.04. A Dockerfile for Ubuntu > We provide Dockerfiles for CentOS 7 and Ubuntu 16.04. A Dockerfile for Ubuntu >
14.04 should work by just changing the "FROM" statement of the Ubuntu 14.04 16.04 should work by just changing the "FROM" statement of the Ubuntu 16.04
Dockerfile. Using these, you can easily build rpm and deb packages for Dockerfile. Using these, you can easily build rpm and deb packages for
synergy-service without having to setup the build system on your own system. synergy-service without having to setup the build system on your own system.
@ -46,21 +46,21 @@ inside the synergy-service directory.
- the resulting rpm should be in the build directory if successful - the resulting rpm should be in the build directory if successful
### Example for Ubuntu 14.04 ### Example for Ubuntu 16.04
- go into the directory that contains the Dockerfile for Ubuntu 14.04 - go into the directory that contains the Dockerfile for Ubuntu 16.04
cd synergy-service/packaging/docker/ubuntu-14.04 cd synergy-service/packaging/docker/ubuntu-16.04
- build the docker image and tag it - build the docker image and tag it
docker build -t synergy-ubuntu14.04-builder . docker build -t synergy-ubuntu16.04-builder .
- launch the container - launch the container
docker run -i -v /path/to/synergy-service:/tmp/synergy \ docker run -i -v /path/to/synergy-service:/tmp/synergy \
synergy-ubuntu14.04-builder synergy-ubuntu16.04-builder
You can override the package version that will be set during the packaging You can override the package version that will be set during the packaging
process by adding `-e "PKG_VERSION=x.y.z"` to the above command line. process by adding `-e "PKG_VERSION=x.y.z"` to the above command line.
@ -101,7 +101,7 @@ Packaging for CentOS
- python-devel - python-devel
- python-setuptools - python-setuptools
- git-core - git-core
- centos-release-openstack-liberty - centos-release-openstack-newton
2. Update your packages with `yum update` and then install `python-pbr`. 2. Update your packages with `yum update` and then install `python-pbr`.

View File

@ -1,6 +1,6 @@
FROM centos:7 FROM centos:7
MAINTAINER Vincent Llorens <vincent.llorens@cc.in2p3.fr> MAINTAINER Vincent Llorens <vincent.llorens@cc.in2p3.fr>
RUN yum install -y centos-release-openstack-liberty \ RUN yum install -y centos-release-openstack-newton \
rpm-build \ rpm-build \
python-devel \ python-devel \
python-setuptools \ python-setuptools \

View File

@ -1,7 +1,7 @@
FROM ubuntu:14.04 FROM ubuntu:16.04
MAINTAINER Vincent Llorens <vincent.llorens@cc.in2p3.fr> MAINTAINER Vincent Llorens <vincent.llorens@cc.in2p3.fr>
RUN apt-get update && apt-get install -y software-properties-common RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository cloud-archive:liberty RUN add-apt-repository cloud-archive:newton
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y build-essential \ && apt-get install -y build-essential \
debhelper \ debhelper \