17 Commits
Author SHA1 Message Date
Iago López Galeiras 6e96a2e628 Bump docker2aci dependency
It fixes some non-working images by including environment and workdir,
handling Entrypoint and Cmd correctly and fixing a couple of minor bugs.
2015-02-13 11:14:03 +01:00
Jonathan Boulle 68a0c0b656 Merge pull request #489 from endocode/iaguis/docker2aci
rkt run: support docker images
2015-02-11 15:40:23 -08:00
Eugene Yakubovich 2352950ba6 net: add support for MTU config 2015-02-09 12:41:44 -08:00
Iago López Galeiras 86152095aa rkt: initial support for docker images
We use the docker2aci library to fetch and squash a docker image into an
ACI when fetch or run is called with an URL like

    docker://<docker registry URL>
2015-02-09 15:44:42 +01:00
Eugene Yakubovich ca80ccf11a Merge pull request #498 from eyakubovich/ipmasq
net: added IP masquerade support
2015-02-06 16:26:18 -08:00
Eugene Yakubovich 356555864a net: added IP masquerade support 2015-02-06 16:08:39 -08:00
Jonathan Boulle 8f60b1afb3 Godeps: bump to fix go 1.4 2015-02-06 21:59:52 +01:00
Jonathan Boulle 9efa9ddd75 Godeps: bump appc/spec, remove go-iptables
Bump appc to 0.3.0+git. Until we reach v1.0.0, we are going to keep
Rocket releases trailing spec releases so the versioning is not too
confusing.

The reason for removing go-iptables is that nothing currently references
it, so Godep does not think it should be vendored: see
https://github.com/coreos/rocket/pull/470

It can be re-added when a package within Rocket uses it again.
2015-02-06 15:50:25 +01:00
Eugene Yakubovich ce0282289a net: vendor go-iptables
IP masquerading will use this package
2015-02-05 11:18:42 -08:00
Jonathan Boulle 72395d1ffa *: vendor appc spec
Take two at getting the spec vendored into Rocket with Godep.
Since actool is used during the construction of the stage1.aci, it
really needs to be vendored too to prevent any unexpected divergence
between whatever version the user happens to have in their PATH. Thus,
we introduce a silly dummy package (stage1/dummy.go) to coerce Godep
into vendoring actool. This also requires a slight rearrangement of the
appc repo, moving some functionality from actool itself into the aci
package.
2015-02-05 14:36:40 +01:00
Eugene Yakubovich 2a5abe00d2 vendor netlink library 2015-01-12 16:58:03 -08:00
Kelsey Hightower a3e710bd86 add support for managing opengpg keys and ACI signature validation
This patch adds support for managing trusted opengpg keys in a keystore backed
by the local filesystem. Trusted keys are stored in following directories by
default:

* /etc/rkt/trustedkeys/root.d
* /etc/rkt/trustedkeys/prefix.d
* /usr/lib/rkt/trustedkeys/root.d
* /usr/lib/rkt/trustedkeys/prefix.d

Each trusted key is stored using the key fingerprint as the name and the key
in OpenPGP ASCII Armor format as the contents.

OS vendors can store system-wide trusted keys in the trusted keys directories
under /usr, which can be overridden by creating an empty file under /etc with a
matching name (fingerprint).

This patch also adds support for validating ACI signatures against trusted keys
found in the local keystore.

Fixes #215
2014-12-24 02:40:55 -05:00
Jonathan Boulle 57fbf844f7 Godeps: bump peterbourgon/diskv dependency
This will allow us to take advantage of several new features like
`Import` (eliminating a copy from cas) and a "no cache" mode (to prevent
OOMs), as well as various bug fixes.
2014-12-12 15:19:34 -08:00
Jonathan Boulle eea61b34a7 godeps: remove appc godeps, no longer used 2014-12-09 12:53:42 -08:00
Jimmy Zelinskie 79e3b0e6b7 cas: write download progress to stdout
Using mitchellh/ioprogress, implements a visual for the process of
downloading an aci.

Fixes #208.
2014-12-08 21:46:12 +00:00
Brandon Philips 88019ea992 *: rename to coreos/rocket 2014-11-30 10:37:50 -05:00
Jonathan Boulle b0349e7d6f *: move dependencies to Godep 2014-11-26 13:30:49 -08:00