This file contains hidden or 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
| # Usage: | |
| # https://gist.githubusercontent.com/joost/20934650f68dd561fc35/raw/44629ade560e0e546ac7d2f94537a594546c5e1f/docker_compose.rb | |
| class DockerCompose < Formula | |
| desc "Isolated development environments using Docker" | |
| homepage "https://docs.docker.com/compose/" | |
| url "https://github.com/docker/compose/archive/1.3.0rc2.tar.gz" | |
| sha256 "4e0a6c82e283e44eb551a8e57bb40c1c2768f8acaf36eb7e858c99ca4fb3d0dc" | |
| # bottle do | |
| # sha256 "bf8a80a39a59185add39a12e6da2b53e19e08bb09d823b1cbaf2ffdcf797c3d7" => :yosemite |
This file contains hidden or 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
| def compare_yaml_hash(cf1, cf2, context = []) | |
| cf1.each do |key, value| | |
| unless cf2.key?(key) | |
| puts "Missing key : #{key} in path #{context.join(".")}" | |
| next | |
| end | |
| value2 = cf2[key] | |
| if (value.class != value2.class) |
This file contains hidden or 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 phusion/passenger-full | |
| # Set correct environment variables. | |
| ENV HOME /root | |
| ENV RUBY_VERSION 2.2.1 | |
| # Use baseimage-docker's init system. | |
| CMD ["/sbin/my_init"] | |
| # =================== |
This file contains hidden or 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
| export AZURE_PERSONAL_ACCESS_TOKEN=YOUR_AZURE_ACCESS_TOKEN | |
| export AZURE_ORGANIZATION_URL=https://dev.azure.com/YOURORG |
OlderNewer