1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #14545 from Djelibeybi/oraclelinux6-rpm

Updated docker-engine.spec to build on Oracle Linux 6.
This commit is contained in:
Alexander Morozov 2015-07-23 13:29:48 -07:00
commit c6f4c192fe
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,15 @@
#
# THIS FILE IS AUTOGENERATED; SEE "contrib/builder/rpm/generate.sh"!
#
FROM oraclelinux:6
RUN yum groupinstall -y "Development Tools"
RUN yum install -y btrfs-progs-devel device-mapper-devel glibc-static libselinux-devel sqlite-devel tar
ENV GO_VERSION 1.4.2
RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
ENV PATH $PATH:/usr/local/go/bin
ENV AUTO_GOPATH 1
ENV DOCKER_BUILDTAGS selinux

View file

@ -44,6 +44,11 @@ Requires: xz
# Resolves: rhbz#1165615
Requires: device-mapper-libs >= 1.02.90-1
%endif
%if 0%{?oraclelinux} == 6
# Require Oracle Unbreakable Enterprise Kernel R3 and newer device-mapper
Requires: kernel-uek >= 3.8
Requires: device-mapper >= 1.02.90-2
%endif
# conflicting packages
Conflicts: docker