-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Done to eliminate the need for a user to install RVM before using the example. This change includes the following: - Adds a ruby-example service to the project's docker-compose - Adds Dockerfile for building the ruby-example service - Updates to the Ruby example program and start script to account for these changes - Updates to start_conjur and integration_tests scripts - These scripts now build only the docker-compose services they require - Documentation regarding the examples are updated across the project
- Loading branch information
1 parent
22ef101
commit ee2e328
Showing
9 changed files
with
55 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM ubuntu:latest | ||
|
||
ENV WORK_DIR=/cyberark/ | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y ruby-full \ | ||
build-essential \ | ||
ruby-dev \ | ||
curl | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
RUN mkdir $WORK_DIR | ||
WORKDIR $WORK_DIR | ||
|
||
COPY ./out/ruby/openapi_client-1.0.0.gem $WORK_DIR | ||
COPY ./examples/ruby/ruby_client.rb $WORK_DIR | ||
|
||
RUN gem install openapi_client-1.0.0.gem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters