Giter VIP home page Giter VIP logo

docker-boulder's People

Watchers

 avatar  avatar  avatar

docker-boulder's Issues

Can't run the image

Not familiar with go but it seems like some paths got messed up during the build or something.

2015/07/08 12:30:58 Web Front End Starting
2015/07/08 12:30:58 Storage Authority Starting
2015/07/08 12:30:58 Connecting to database sqlite3 :memory:
2015/07/08 12:30:58 Connected to database sqlite3 :memory:
2015/07/08 12:30:58 Registration Authority Starting
2015/07/08 12:30:58 Policy Authority Starting
2015/07/08 12:30:58 Validation Authority Starting
2015/07/08 12:30:58 Connecting to database sqlite3 :memory:
2015/07/08 12:30:58 Connected to database sqlite3 :memory:
2015/07/08 12:30:58 Certificate Authority Starting
2015/07/08 12:30:58 [AUDIT] Panic caused by err: runtime error: invalid memory address or nil pointer dereference
2015/07/08 12:30:58 [AUDIT] Stack Trace (Current frame) goroutine 1 [running]:
github.com/letsencrypt/boulder/log.(*AuditLogger).AuditPanic(0xc208157080)
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/log/audit-logger.go:175 +0x193
github.com/letsencrypt/boulder/Godeps/_workspace/src/github.com/cloudflare/cfssl/config.LoadConfig(0xc208176b24, 0x1c, 0x40, 0x1c, 0x0, 0x0)
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/Godeps/_workspace/src/github.com/cloudflare/cfssl/config/config.go:448 +0x2e1
github.com/letsencrypt/boulder/ca.NewCertificateAuthorityImpl(0x7f432ee70fa0, 0xc20830c2f0, 0xc2080d9f10, 0x2, 0x1, 0xc2080d9f20, 0x7, 0xc2080d9f30, 0x8, 0xff, ...)
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/ca/certificate-authority.go:120 +0x166
main.main.func1(0xc208013e30, 0x21, 0xc2080d9ab0, 0x9, 0xc2080d9b00, 0x9, 0xc2080d9b50, 0x9, 0xc2080d9ba0, 0x9, ...)
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/cmd/boulder/main.go:94 +0x6d8
github.com/letsencrypt/boulder/cmd.(*AppShell).Run.func1(0xc20808c240)
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/cmd/shell.go:187 +0x225
github.com/letsencrypt/boulder/Godeps/_workspace/src/github.com/codegangsta/cli.(*App).Run(0xc2081509c0, 0xc20800a200, 0x1, 0x1, 0x0, 0x0)
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/Godeps/_workspace/src/github.com/codegangsta/cli/app.go:161 +0xc03
github.com/letsencrypt/boulder/cmd.(*AppShell).Run(0xc2081565a0)
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/cmd/shell.go:190 +0xaa
main.main()
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/cmd/boulder/main.go:135 +0x98

2015/07/08 12:30:58 Stack Trace (All frames): goroutine 1 [running]:
github.com/letsencrypt/boulder/log.(*AuditLogger).AuditPanic(0xc208157080)
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/log/audit-logger.go:178 +0x2f9
github.com/letsencrypt/boulder/Godeps/_workspace/src/github.com/cloudflare/cfssl/config.LoadConfig(0xc208176b24, 0x1c, 0x40, 0x1c, 0x0, 0x0)
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/Godeps/_workspace/src/github.com/cloudflare/cfssl/config/config.go:448 +0x2e1
github.com/letsencrypt/boulder/ca.NewCertificateAuthorityImpl(0x7f432ee70fa0, 0xc20830c2f0, 0xc2080d9f10, 0x2, 0x1, 0xc2080d9f20, 0x7, 0xc2080d9f30, 0x8, 0xff, ...)
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/ca/certificate-authority.go:120 +0x166
main.main.func1(0xc208013e30, 0x21, 0xc2080d9ab0, 0x9, 0xc2080d9b00, 0x9, 0xc2080d9b50, 0x9, 0xc2080d9ba0, 0x9, ...)
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/cmd/boulder/main.go:94 +0x6d8
github.com/letsencrypt/boulder/cmd.(*AppShell).Run.func1(0xc20808c240)
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/cmd/shell.go:187 +0x225
github.com/letsencrypt/boulder/Godeps/_workspace/src/github.com/codegangsta/cli.(*App).Run(0xc2081509c0, 0xc20800a200, 0x1, 0x1, 0x0, 0x0)
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/Godeps/_workspace/src/github.com/codegangsta/cli/app.go:161 +0xc03
github.com/letsencrypt/boulder/cmd.(*AppShell).Run(0xc2081565a0)
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/cmd/shell.go:190 +0xaa
main.main()
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/cmd/boulder/main.go:135 +0x98

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
    /home/jcjones/src/go/src/runtime/asm_amd64.s:1670 +0x1

goroutine 5 [runnable]:
github.com/letsencrypt/boulder/cmd.ProfileCmd(0xaa08d0, 0x8, 0x7f432ee70988, 0xc2081a0f30)
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/cmd/shell.go:296
created by main.main.func1
    /home/jcjones/gocode/src/github.com/letsencrypt/boulder/cmd/boulder/main.go:74 +0x1fd

goroutine 6 [runnable]:
database/sql.(*DB).connectionOpener(0xc20814fd60)
    /home/jcjones/src/go/src/database/sql/sql.go:622
created by database/sql.Open
    /home/jcjones/src/go/src/database/sql/sql.go:470 +0x30d

goroutine 7 [runnable]:
database/sql.(*DB).connectionOpener(0xc20814fea0)
    /home/jcjones/src/go/src/database/sql/sql.go:622
created by database/sql.Open
    /home/jcjones/src/go/src/database/sql/sql.go:470 +0x30d

Build scratch images

It'd be preferable for this script to produce Docker containers that inherit FROM scratch, however Boulder cannot compile with CGO_ENABLED set appropriately, as the Go Sqlite3 library in use has native C code that itself has transitive dependencies.

To produce scratch images, we'll need to conditionally compile out the Sqlite3 support from Boulder, as it's not needed in any production environment.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.