With only line #1, you end up with cabal update
returning
Downloading the latest package list from stackage
cabal: fromFlag NoFlag. Use fromFlagOrDefault
%YAML 1.2 | |
--- | |
# http://www.sublimetext.com/docs/3/syntax.html | |
name: Rego | |
file_extensions: | |
- rego | |
- Rego | |
scope: source.rego | |
contexts: | |
main: |
$ go tool compile -S main.go > main.asm | |
$ go tool compile -S main2.go > main2.asm | |
$ sed -i s/main2/main/ main2.asm | |
$ diff main.asm main2.asm # yields nothing |
package main | |
import ( | |
"bufio" | |
"bytes" | |
"crypto/md5" | |
"encoding/json" | |
"fmt" | |
"io" | |
"io/ioutil" |
{ | |
"id": 20601, | |
"created_at": "2014-07-21T16:19:26+02:00", | |
"updated_at": "2015-10-02T13:48:36+02:00", | |
"latitude": 52.36701189999999, | |
"longitude": 13.09298250000006, | |
"street": "", | |
"zip": "14478", | |
"city": "Potsdam", | |
"country": "Deutschland", |
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 |
$ 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) |
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 |
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 |
With only line #1, you end up with cabal update
returning
Downloading the latest package list from stackage
cabal: fromFlag NoFlag. Use fromFlagOrDefault
#!/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 | |
# |