- Mirrored on Quay and Docker Hub
- Built on Quay and Docker Hub
- Includes: Primetime, BroadwayJoe, Megatron, Dumptruck
| FROM quay.io/aptible/ubuntu:14.04 | |
| WORKDIR /tmp | |
| RUN apt-install curl | |
| RUN curl -OL https://cloud.mongodb.com/download/agent/monitoring/mongodb-mms-monitoring-agent_4.1.0.251-1_amd64.deb && \ | |
| dpkg -i mongodb-mms-monitoring-agent_4.1.0.251-1_amd64.deb && \ | |
| rm -rf mongodb-mms-monitoring-agent_4.1.0.251-1_amd64.deb | |
| ADD start-monitoring-agent /usr/local/bin/ |
| db-launch () | |
| { | |
| container=$(head -c 32 /dev/urandom | md5); | |
| passphrase=${PASSPHRASE:-foobar}; | |
| image="${@: -1}"; | |
| docker create --name $container $image; | |
| docker run --volumes-from $container -e USERNAME=aptible -e PASSPHRASE=$passphrase -e DB=db $image --initialize; | |
| docker run --volumes-from $container $@ | |
| } |
| #!/usr/bin/env ruby | |
| # cert-wizard: Concatenate a certificate chain in its correct order | |
| require 'openssl' | |
| COMMAND = ARGV[0] | |
| CERTIFICATE_FILES = ARGV[1..-1] | |
| @filenames = {} |
| require 'aptible/auth' | |
| require 'aptible/api' | |
| HANDLE = 'your-app' | |
| EMAIL = '[email protected]' | |
| PASSWORD = '' | |
| KEY = 'FOOBAR' | |
| FILE = '/path/to/file' | |
| require 'aptible/auth' | |
| require 'aptible/api' | |
| token = Aptible::Auth::Token.create( | |
| email: EMAIL, | |
| password: PASSWORD | |
| ) | |
| app = Aptible::Service.find(APP_ID, token: token) | |
| service = app.services.find { |s| s.process_type == PROCESS_TYPE } | |
| vhost = service.create_vhost!( |
| #!/usr/bin/env ruby | |
| # ruby registry-compat-test.rb namespace/repo | |
| require 'faraday' | |
| require 'json' | |
| REPO = ARGV[0].split(':')[0] | |
| TAG = ARGV[0].split(':')[1] || 'latest' | |
| # Fetch image list and X-Docker-Token |
| .pl_app_header, .pl_inbox_search_box, .conversation__inbox__current-profile, .conversation__inbox__list-filter .u__right { | |
| display: none; | |
| } | |
| body { | |
| min-width: 800px!important; | |
| } | |
| .pl_secondary_nav_wrapper { | |
| min-width: 800px!important; |
| #!/usr/bin/env ruby | |
| # ruby sync-waffle.rb aptible aptible/support | |
| require 'octokit' | |
| require 'faraday' | |
| require 'json' | |
| org_login = ARGV[0] | |
| waffle_project = ARGV[1] |
| { | |
| "host_groups": [ | |
| { | |
| "name": "master", | |
| "components": [ | |
| { | |
| "name": "NAMENODE" | |
| }, | |
| { | |
| "name": "DATANODE" |