Skip to content

Commit

Permalink
Add /usr/local/bundle/bin to the path in the cf-uaac image
Browse files Browse the repository at this point in the history
In the latest Ruby alpine image they removed the /usr/local/bundle/bin path
from the PATH which causes installed gem binaries not to be on the path
anymore.

We need to temporarily fix this until they sort out
docker-library/ruby#209.
  • Loading branch information
bandesz committed May 24, 2018
1 parent b66808d commit 38704e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cf-uaac/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM ruby:2.5-alpine

# TODO: remove after https://github.com/docker-library/ruby/pull/209 was fixed.
ENV PATH "/usr/local/bundle/bin:${PATH}"

RUN apk add --update musl-dev gcc make g++ && rm -rf /var/cache/apk/*

RUN gem install cf-uaac -v 3.2.0 --no-rdoc --no-ri

0 comments on commit 38704e5

Please sign in to comment.