Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Commit

Permalink
updated Dockerfile to take local build output
Browse files Browse the repository at this point in the history
  • Loading branch information
sathishvj committed Aug 22, 2017
1 parent c0ee862 commit bb8cb75
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM centos:7
MAINTAINER sathishvj

RUN yum install -y centos-release-scl-rh && \
yum install -y rh-postgresql95-postgresql && \
ln -s /opt/rh/rh-postgresql95/root/usr/lib64/libpq.so.rh-postgresql95-5 /usr/lib64/libpq.so.rh-postgresql95-5 && \
curl -o /usr/bin/fabric8-dependency-wait-service-linux-amd64 -L https://github.com/fabric8-services/fabric8-dependency-wait-service/releases/download/v0.0.7/fabric8-dependency-wait-service-linux-amd64 && \
chmod +x /usr/bin/fabric8-dependency-wait-service-linux-amd64
COPY ./out/fabric8-dependency-wait-service-linux-amd64 /usr/bin/fabric8-dependency-wait-service-linux-amd64

RUN chmod +x /usr/bin/fabric8-dependency-wait-service-linux-amd64 && \
yum install -y centos-release-scl-rh && \
yum install -y rh-postgresql95-postgresql && \
ln -s /opt/rh/rh-postgresql95/root/usr/lib64/libpq.so.rh-postgresql95-5 /usr/lib64/libpq.so.rh-postgresql95-5

ENV PATH=${PATH}:/opt/rh/rh-postgresql95/root/usr/bin

0 comments on commit bb8cb75

Please sign in to comment.