Update README and remove Nut.toml.

This commit is contained in:
Jacob Hoffman-Andrews 2015-03-26 14:24:11 -07:00
parent 2940bb3c7c
commit dc68fd4fe1
3 changed files with 10 additions and 39 deletions

View File

@ -8,10 +8,6 @@ EXPOSE 4000
# Assume the configuration is in /etc/boulder
ENV BOULDER_CONFIG=/boulder/config.json
# Load the dependencies
RUN go-wrapper download github.com/mattn/go-sqlite3 && \
go-wrapper download github.com/go-sql-driver/mysql
# Copy in the Boulder sources
RUN mkdir -p /go/src/github.com/letsencrypt/boulder
COPY . /go/src/github.com/letsencrypt/boulder

View File

@ -1,33 +0,0 @@
# Nut config file, see https://github.com/jingweno/nut/blob/master/README.md
# NOTE: Before you run `nut install`, make sure to run:
# sudo /sbin/iptables -A OUTPUT -p tcp --dport 80 -j DROP
# To block insecure HTTP fallback in go get. When you're done:
# sudo iptables -D OUTPUT NN
# If you have no other iptables rules, NN will be 1. Check with iptables -L.
[application]
name = "boulder"
version = "0.0.1"
authors = ["ISRG <info@letsencrypt.org>"]
# Rewrote dependencies in our source tree using:
# find analysis/ cmd/ core/ jose/ log/ policy/ ra/ rpc/ sa/ test/ va/ wfe/ -name '*.go' | xargs perl -ibak -lpe 's,"(github.com/(?!letsencrypt).*)","github.com/letsencrypt/boulder/vendor/_nuts/$1",'
# TODO: I think nut is supposed to do this for you but it may only apply to
# internal imports within your dependencies.
[dependencies]
# We have to specify a path within cfssl, otherwise we get an error about no
# buildable files. But this fetches the whole repo.
"github.com/cloudflare/cfssl/auth" = "1415724f395ffd7aa29176066765cabc68193453"
"github.com/cloudflare/cfssl/config" = "1415724f395ffd7aa29176066765cabc68193453"
"github.com/cloudflare/cfssl/crypto/pkcs11key" = "1415724f395ffd7aa29176066765cabc68193453"
"github.com/cloudflare/cfssl/api/sign" = "1415724f395ffd7aa29176066765cabc68193453"
"github.com/cloudflare/cfssl/log" = "1415724f395ffd7aa29176066765cabc68193453"
"github.com/cloudflare/cfssl/signer" = "1415724f395ffd7aa29176066765cabc68193453"
"github.com/cloudflare/cfssl/signer/local" = "1415724f395ffd7aa29176066765cabc68193453"
"github.com/cloudflare/cfssl/signer/remote" = "1415724f395ffd7aa29176066765cabc68193453"
"github.com/streadway/amqp" = "150b7f24d6ad507e6026c13d85ce1f1391ac7400"
"github.com/mattn/go-sqlite3" = "308067797b0fcce4ca06362580dc6db77c1bfeda"
"github.com/codegangsta/cli" = "e1712f381785e32046927f64a7c86fe569203196"
"github.com/go-sql-driver/mysql" = "a197e5d40516f2e9f74dcee085a5f2d4604e94df"

View File

@ -104,11 +104,19 @@ Files
Dependencies:
All dependencies are vendorized under the vendor/_nuts directory,
All dependencies are vendorized under the Godeps directory,
both to [make dependency management
easier](https://groups.google.com/forum/m/#!topic/golang-dev/nMWoEAG55v8)
and to [avoid insecure fallback in go
get](https://github.com/golang/go/issues/9637)
get](https://github.com/golang/go/issues/9637). To update dependencies:
```
# Disable insecure fallback by blocking port 80.
sudo /sbin/iptables -A OUTPUT -p tcp --dport 80 -j DROP
godep save -r ./...
# Assuming you had no other iptables rules, re-enable port 80.
sudo iptables -D OUTPUT 1
```
ACME Processing
---------------