With only line #1, you end up with cabal update returning
Downloading the latest package list from stackage
cabal: fromFlag NoFlag. Use fromFlagOrDefault
| foodcritic | WARNING: Nokogiri was built against LibXML version 2.7.3, but has dynamically loaded 2.7.8 | |
| foodcritic | FC014: Consider extracting long ruby_block to library: /Users/stephan/2014/ceph/ceph/recipes/osd.rb:76 | |
| foodcritic | FC047: Attribute assignment does not specify precedence: /Users/stephan/2014/ceph/ceph/recipes/osd.rb:89 | |
| foodcritic | FC048: Prefer Mixlib::ShellOut: /Users/stephan/2014/ceph/ceph/attributes/repo.rb:31 | |
| foodcritic | FC048: Prefer Mixlib::ShellOut: /Users/stephan/2014/ceph/ceph/attributes/repo.rb:35 | |
| foodcritic | FC048: Prefer Mixlib::ShellOut: /Users/stephan/2014/ceph/ceph/libraries/default.rb:96 | |
| foodcritic | FC048: Prefer Mixlib::ShellOut: /Users/stephan/2014/ceph/ceph/libraries/default.rb:117 | |
| foodcritic | FC048: Prefer Mixlib::ShellOut: /Users/stephan/2014/ceph/ceph/recipes/osd.rb:83 | |
| foodcritic | FC048: Prefer Mixlib::ShellOut: /Users/stephan/2014/ceph/ceph/recipes/osd.rb:95 | |
| foodcritic |
| iter my_array do |it| | |
| execute "git fetch -p" do | |
| cwd path_for(it) | |
| end | |
| end | |
| # ---> with my_array = %(foo bar), this should lead to | |
| execute "foo: git fetch -p" do | |
| command "git fetch -p" |
| site :opscode | |
| %w( | |
| poise/poise | |
| poise/poise-ruby | |
| gofullstack/backup-cookbook | |
| stackforge/cookbook-openstack-common | |
| phlipper/chef-percona | |
| ).each do |github| | |
| name = github.split('/').last |
| # Description: | |
| # Add entries to trello directly from hubot | |
| # | |
| # Dependencies: | |
| # "node-trello": "0.1.2" | |
| # | |
| # Configuration: | |
| # HUBOT_TRELLO_KEY - your trello developer key | |
| # | |
| # Commands: |
| #!/opt/chef/embedded/bin/ruby | |
| # | |
| # Copyright (C) 2014 x-ion GmbH | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
With only line #1, you end up with cabal update returning
Downloading the latest package list from stackage
cabal: fromFlag NoFlag. Use fromFlagOrDefault
| FROM debian:jessie | |
| ENV DEBIAN_FRONTEND noninteractive | |
| RUN apt-get update && \ | |
| apt-get upgrade -y && \ | |
| apt-get install -y --no-install-recommends curl ca-certificates \ | |
| python git build-essential && \ | |
| apt-get clean |
| docker@boot2docker:~$ pwd | |
| /home/docker | |
| docker@boot2docker:~$ docker run -it -v $(pwd)/foo:/foo -v /var/run/docker.sock:/var/run/docker.sock sse/jenkins bash | |
| jenkins@ccfdbe3ccaac:/$ ls /foo/ | |
| bar foofoo | |
| jenkins@ccfdbe3ccaac:/$ docker run -it -v /home/docker/foo/bar:/bar debian:jessie bash # <-- /!\ | |
| root@be6343378d9a:/# ls /bar | |
| baz | |
| root@be6343378d9a:/# date > /bar/bar | |
| root@be6343378d9a:/# exit |
| $ winpty docker run -it debian:jessie bash | |
| root@d3c36743f062:/# tput rc | |
| oot@d3c36743f062:/# panic: runtime error: slice bounds out of range | |
| goroutine 12 [running]: | |
| bufio.(*Reader).fill(0xc08208a300) | |
| /usr/local/go/src/bufio/bufio.go:86 +0x2e2 | |
| bufio.(*Reader).WriteTo(0xc08208a300, 0x3624f0, 0xc08200ab90, 0x3b, 0x0, 0x0) | |
| /usr/local/go/src/bufio/bufio.go:449 +0x285 | |
| io.Copy(0x3624f0, 0xc08200ab90, 0x364738, 0xc08208a300, 0x0, 0x0, 0x0) |
| FROM ruby:2.1-onbuild | |
| # execjs needs some js engine | |
| RUN apt-get update && apt-get install -y --no-install-recommends nodejs apache2 | |
| # jekyll needs this | |
| ENV LANG C.UTF-8 | |
| # "configure" apache | |
| RUN sed -i 's#/var/www/html#/usr/src/app/build#' /etc/apache2/sites-enabled/000-default.conf |