View policy.json
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Action": [ | |
"s3:GetBucketLocation", | |
"s3:ListBucket" | |
], | |
"Effect": "Allow", | |
"Principal": { |
View Dockerfile
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
FROM ubuntu | |
RUN apt update && apt install git -y | |
# Install rbenv | |
RUN git clone https://github.com/rbenv/rbenv.git /usr/local/.rbenv | |
ENV PATH /usr/local/.rbenv/bin:$PATH | |
RUN eval "$(rbenv init -)" |
View bosh-addon
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
# Update runtime config on the Director, bosh update-runtime-config | |
Example: | |
bosh update-runtime-config runtime.yml | |
bosh runtime-config | |
# To remove all addons, specify empty arrays as follows: | |
releases: [] | |
addons: [] |