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:16.04 | |
# Don't run mesg unless we have a tty; otherwise we'll get a warning from `docker run ... bash -l -c ...` | |
RUN perl -i -pe 's/mesg n/tty -s && mesg n/' /root/.profile | |
# Install packages for building ruby | |
RUN apt-get update | |
RUN apt-get install -y --force-yes \ | |
build-essential curl git sudo zlib1g-dev libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt-dev unzip vim |
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
# Shorten video by limiting the max wait time | |
my $max_pause = 1; | |
# To make interactive commands more noticable, insert a longer delay | |
# after lines with a command prompt. | |
my $prompt = qr/jan\@zuze/; |
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
$ cat .buildpacks | |
nodejs_buildpack | |
php_buildpack | |
$ cf push multi | |
Starting app multi in org hpe / space myspace as admin... | |
[...] | |
Staging... | |
=====> Locating Admin Buildpack: nodejs_buildpack | |
=====> Detected Framework: node.js 1.5.8 |