Merge pull request #987 from shanemcd/devel

Fix sdist builder image
This commit is contained in:
Shane McDonald 2018-01-15 20:25:16 -05:00 committed by GitHub
commit cad5c5e79a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -1,11 +1,12 @@
FROM centos:7
RUN yum install -y epel-release
RUN yum install -y https://centos7.iuscommunity.org/ius-release.rpm
RUN yum install -y bzip2 \
gcc-c++ \
gettext \
git \
git2u-core \
make \
python \
python-pip

View File

@ -1,6 +1,6 @@
---
- name: Get Version from checkout if not provided
shell: "git describe --long | sed 's/\\-g.*//' | sed 's/\\-/\\./'"
shell: "git describe --long --first-parent | sed 's/\\-g.*//' | sed 's/\\-/\\./'"
delegate_to: localhost
register: awx_version_command
when: awx_version is not defined