mirror of
https://github.com/clearlinux/rkt.git
synced 2026-09-06 05:41:50 +00:00
docs: update docker build instructions
This commit is contained in:
@@ -28,5 +28,5 @@ cd rocket; ./build
|
||||
Alternatively, you can build rocket in a docker container with the following command. Replace $SRC with the absolute path to your rocket source code:
|
||||
|
||||
```
|
||||
docker run -v $SRC:/opt/rocket -i -t google/golang /bin/bash -c "apt-get install -y cpio squashfs-tools realpath && cd /opt/rocket && go get github.com/jteeuwen/go-bindata/... && go get github.com/appc/spec/... && ./build"
|
||||
$ sudo docker run -v $SRC:/opt/rocket -i -t golang:1.3 /bin/bash -c "apt-get update && apt-get install -y coreutils cpio squashfs-tools realpath && cd /opt/rocket && go get github.com/jteeuwen/go-bindata/... && go get github.com/appc/spec/... && ./build"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user