Skip to content

Commit 38704e5

Browse files
committed
Add /usr/local/bundle/bin to the path in the cf-uaac image
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.
1 parent b66808d commit 38704e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cf-uaac/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
FROM ruby:2.5-alpine
22

3+
# TODO: remove after https://github.com/docker-library/ruby/pull/209 was fixed.
4+
ENV PATH "/usr/local/bundle/bin:${PATH}"
5+
36
RUN apk add --update musl-dev gcc make g++ && rm -rf /var/cache/apk/*
47

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

0 commit comments

Comments
 (0)