File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22You can use docker to test issues you have with the SDK.
33
441 . Install docker
5- - Mac: https://docs.docker.com/docker-for-mac/install/
6- - Windows: https://docs.docker.com/docker-for-windows/install/
7- 1 . Download the dockerfile for this SDK and edit as needed.
8- - Change the ruby version as needed ` FROM ruby:<your-version> `
9- - For valid ruby base images on docker see https://hub.docker.com/_/ruby
5+ - Mac: < https://docs.docker.com/docker-for-mac/install/ >
6+ - Windows: < https://docs.docker.com/docker-for-windows/install/ >
7+
8+ 2 . Download the dockerfile for this SDK and edit as needed.
9+ - Change the it version as needed ` FROM ruby:<your-version> `
10+ - For valid ruby base images on docker see < https://hub.docker.com/_/ruby >
1011 - Copy code/file that you wish to test into the dockerfile
1112 - Add line ` COPY <src>... <dest> `
1213 - Set dockerfile to execute code file
1314 - Add line ` CMD [ "<executable>" ] `
1415
15- - For more information on dockerfile construction please visit https://docs.docker.com/engine/reference/builder/
16- 1 . Build and run the docker image.
16+ - For more information on dockerfile construction please visit < https://docs.docker.com/engine/reference/builder/ >
17+
18+ 3 . Build and run the docker image.
1719 - Navigate to docker file directory
1820 - To build the docker image run ` docker build --tag=<your-tag> . `
1921 - To run the docker image run ` docker run <your-tag> `
You can’t perform that action at this time.
0 commit comments