Skip to content

Instantly share code, notes, and snippets.

@akutz
Created June 26, 2017 23:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akutz/2f62c5b55a8ba24171b1128fb822dc93 to your computer and use it in GitHub Desktop.
Save akutz/2f62c5b55a8ba24171b1128fb822dc93 to your computer and use it in GitHub Desktop.
$ ./build.sh -t plugin -d ebs
building REX-Ray (this may take a few minutes)
Builder.............. docker
Version.............. 0.9.1+14+dirty
Plug-in.............. Yes
REX-Ray.............. local
Sending build context to Docker daemon 214.4MB
Step 1/17 : FROM golang:1.8.1 as rexray-builder
---> fcef75ee6be1
Step 2/17 : ENV REXRAY rexray
---> Using cache
---> 5b98c5cca13e
Step 3/17 : WORKDIR /go/src/github.com/codedellemc/rexray/
---> Using cache
---> f74e80b76597
Step 4/17 : COPY . .
---> 1123025a2f3c
Removing intermediate container 3ffb65865aba
Step 5/17 : WORKDIR /go/src/github.com/codedellemc/rexray/
---> bfd3b9308e90
Removing intermediate container 214cd9802fe3
Step 6/17 : RUN GOARCH="amd64" NOSTAT="1" DRIVERS="ebs" EMED_EXECUTORS="linux_amd64" REXRAY_BUILD_TYPE= make
---> Running in 26a60edfc81d
make deps
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 622 0 622 0 0 1767 0 --:--:-- --:--:-- --:--:-- 1772
100 3690k 100 3690k 0 0 1184k 0 0:00:03 0:00:03 --:--:-- 1601k
/go/bin/glide install && touch glide.lock.d
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching updates for cloud.google.com/go.
[INFO] --> Fetching updates for github.com/akutz/golf.
[INFO] --> Fetching updates for github.com/akutz/gofig.
[INFO] --> Fetching updates for github.com/akutz/goof.
[INFO] --> Fetching updates for github.com/asaskevich/govalidator.
[INFO] --> Fetching updates for github.com/akutz/gotil.
[INFO] --> Fetching updates for github.com/appropriate/go-virtualboxclient.
[INFO] --> Fetching updates for github.com/aws/aws-sdk-go.
[INFO] --> Fetching updates for github.com/Azure/azure-sdk-for-go.
[INFO] --> Fetching updates for github.com/Azure/go-autorest.
[INFO] --> Fetching updates for github.com/cesanta/ucl.
[INFO] --> Fetching updates for github.com/cesanta/validate-json.
[INFO] --> Fetching updates for github.com/codedellemc/goisilon.
[INFO] --> Fetching updates for github.com/codedellemc/gournal.
[INFO] --> Fetching updates for github.com/codedellemc/libstorage.
[INFO] --> Fetching updates for github.com/codedellemc/goscaleio.
[INFO] --> Fetching updates for github.com/dgrijalva/jwt-go.
[INFO] --> Fetching updates for github.com/digitalocean/godo.
[INFO] --> Fetching updates for github.com/fsnotify/fsnotify.
[INFO] --> Fetching updates for github.com/go-ini/ini.
[INFO] --> Fetching updates for github.com/go-yaml/yaml.
[INFO] --> Fetching updates for github.com/golang/protobuf.
[INFO] --> Fetching updates for github.com/google/go-querystring.
[INFO] --> Fetching updates for github.com/googleapis/gax-go.
[INFO] --> Fetching updates for github.com/gophercloud/gophercloud.
[INFO] --> Fetching updates for github.com/gorilla/context.
[INFO] --> Fetching updates for github.com/gorilla/mux.
[INFO] --> Fetching updates for github.com/hashicorp/hcl.
[INFO] --> Fetching updates for github.com/inconshreveable/mousetrap.
[INFO] --> Fetching updates for github.com/jmespath/go-jmespath.
[INFO] --> Fetching updates for github.com/jteeuwen/go-bindata.
[INFO] --> Fetching updates for github.com/kardianos/osext.
[INFO] --> Fetching updates for github.com/kr/fs.
[INFO] --> Fetching updates for github.com/magiconair/properties.
[INFO] --> Fetching updates for github.com/mitchellh/mapstructure.
[INFO] --> Fetching updates for github.com/pelletier/go-buffruneio.
[INFO] --> Fetching updates for github.com/pelletier/go-toml.
[INFO] --> Fetching updates for github.com/pkg/errors.
[INFO] --> Fetching updates for github.com/pkg/sftp.
[INFO] --> Fetching updates for github.com/rubiojr/go-vhd.
[INFO] --> Fetching updates for github.com/SermoDigital/jose.
[INFO] --> Fetching updates for github.com/Sirupsen/logrus.
[INFO] --> Fetching updates for github.com/spf13/afero.
[INFO] --> Fetching updates for github.com/spf13/cast.
[INFO] --> Fetching updates for github.com/spf13/cobra.
[INFO] --> Fetching updates for github.com/spf13/jwalterweatherman.
[INFO] --> Fetching updates for github.com/spf13/pflag.
[INFO] --> Fetching updates for github.com/spf13/viper.
[INFO] --> Fetching updates for github.com/tent/http-link-go.
[INFO] --> Fetching updates for golang.org/x/crypto.
[INFO] --> Fetching updates for golang.org/x/net.
[INFO] --> Fetching updates for golang.org/x/oauth2.
[INFO] --> Fetching updates for golang.org/x/sys.
[INFO] --> Fetching updates for golang.org/x/text.
[INFO] --> Fetching updates for google.golang.org/api.
[INFO] --> Fetching updates for google.golang.org/appengine.
[INFO] --> Fetching updates for google.golang.org/grpc.
[INFO] --> Fetching updates for gopkg.in/yaml.v1.
[INFO] --> Fetching updates for gopkg.in/yaml.v2.
[INFO] Setting references.
[INFO] --> Setting version for github.com/akutz/gotil to 6fa2e80bd3ac40f15788cfc3d12ebba49a0add92.
[INFO] --> Setting version for github.com/akutz/gofig to 862741cad5edced279c57d1981e8e3e9fa54e8d5.
[INFO] --> Setting version for github.com/akutz/golf to 296de562c59e98534dc2d7b49f6ba310e3edb69d.
[INFO] --> Setting version for github.com/codedellemc/libstorage to fd26f0ec72b077ffa7c82160fbd12a276e12c2ad.
[INFO] --> Setting version for github.com/akutz/goof to 72efb1916248a881f8d39e20b9709696c5eda708.
[INFO] --> Setting version for github.com/Azure/go-autorest to 8a25372bbfec739b8719a9e3987400d15ef9e179.
[INFO] --> Setting version for github.com/asaskevich/govalidator to 7b3beb6df3c42abd3509abfc3bcacc0fbfb7c877.
[INFO] --> Setting version for github.com/aws/aws-sdk-go to 3f8f870ec9939e32b3372abf74d24e468bcd285d.
[INFO] --> Setting version for github.com/Azure/azure-sdk-for-go to 0984e0641ae43b89283223034574d6465be93bf4.
[INFO] --> Setting version for github.com/codedellemc/gournal to 4293aaf7e91602963a5777caef4b346e1cf21936.
[INFO] --> Setting version for github.com/appropriate/go-virtualboxclient to e0978ab2ed407095400a69d5933958dd260058cd.
[INFO] --> Setting version for github.com/cesanta/validate-json to 2f16017c76fc2403d143e93cea1e1b9526a01148.
[INFO] --> Setting version for github.com/golang/protobuf to 8ee79997227bf9b34611aee7946ae64735e6fd93.
[INFO] --> Setting version for github.com/go-yaml/yaml to bc35f417f8a7664a73d46c9def2933417c03019f.
[INFO] --> Setting version for github.com/google/go-querystring to 53e6ce116135b80d037921a7fdd5138cf32d7a8a.
[INFO] --> Setting version for github.com/googleapis/gax-go to da06d194a00e19ce00d9011a13931c3f6f6887c7.
[INFO] --> Setting version for github.com/gophercloud/gophercloud to 9a5595b8ffe429439c63781cdc312c254e4ad990.
[INFO] --> Setting version for github.com/gorilla/context to 08b5f424b9271eedf6f9f0ce86cb9396ed337a42.
[INFO] --> Setting version for github.com/codedellemc/goscaleio to 485da3636bfcc8e70f74fe7bdc7cb25e5a6e4c4a.
[INFO] --> Setting version for github.com/fsnotify/fsnotify to fd9ec7deca8bf46ecd2a795baaacf2b3a9be1197.
[INFO] --> Setting version for github.com/hashicorp/hcl to f74cf8281543a0797d7b4ab7d88e76e7ba125308.
[INFO] --> Setting version for github.com/cesanta/ucl to 97c016fce90e6af1b14558563ac46852167e6a76.
[INFO] --> Setting version for github.com/dgrijalva/jwt-go to 2268707a8f0843315e2004ee4f1d021dc08baedf.
[INFO] --> Setting version for github.com/digitalocean/godo to 83908b1ddd666d08a9b020c697b55ae3895be2fd.
[INFO] --> Setting version for github.com/inconshreveable/mousetrap to 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75.
[INFO] --> Setting version for github.com/codedellemc/goisilon to 2ea94fb4dd4f34507c9d67d8d2e35dcc0edb5f89.
[INFO] --> Setting version for github.com/gorilla/mux to 757bef944d0f21880861c2dd9c871ca543023cba.
[INFO] --> Setting version for github.com/go-ini/ini to 6e4869b434bd001f6983749881c7ead3545887d8.
[INFO] --> Setting version for github.com/kardianos/osext to ae77be60afb1dcacde03767a8c37337fad28ac14.
[INFO] --> Setting version for github.com/jmespath/go-jmespath to bd40a432e4c76585ef6b72d3fd96fb9b6dc7b68d.
[INFO] --> Setting version for github.com/SermoDigital/jose to f6df55f235c24f236d11dbcf665249a59ac2021f.
[INFO] --> Setting version for github.com/magiconair/properties to 0723e352fa358f9322c938cc2dadda874e9151a9.
[INFO] --> Setting version for github.com/spf13/afero to 52e4a6cfac46163658bd4f123c49b6ee7dc75f78.
[INFO] --> Setting version for github.com/jteeuwen/go-bindata to 1dd44b25b79c4d9060e582e90798e4d72537818c.
[INFO] --> Setting version for github.com/mitchellh/mapstructure to f3009df150dadf309fdee4a54ed65c124afad715.
[INFO] --> Setting version for github.com/rubiojr/go-vhd to 96a0db67ea8209453cfa694bdf03de202d6dd8f8.
[INFO] --> Setting version for github.com/pkg/errors to 248dadf4e9068a0b3e79f02ed0a610d935de5302.
[INFO] --> Setting version for github.com/pelletier/go-toml to 45932ad32dfdd20826f5671da37a5f3ce9f26a8d.
[INFO] --> Setting version for github.com/kr/fs to 2788f0dbd16903de03cb8186e5c7d97b69ad387b.
[INFO] --> Setting version for github.com/pelletier/go-buffruneio to df1e16fde7fc330a0ca68167c23bf7ed6ac31d6d.
[INFO] --> Setting version for github.com/pkg/sftp to 4d0e916071f68db74f8a73926335f809396d6b42.
[INFO] --> Setting version for github.com/Sirupsen/logrus to 5f376aa629ac60c3215cc368e674bd996093a01a.
[INFO] --> Setting version for github.com/spf13/viper to 651d9d916abc3c3d6a91a12549495caba5edffd2.
[INFO] --> Setting version for github.com/spf13/cast to 2580bc98dc0e62908119e4737030cc2fdfc45e4c.
[INFO] --> Setting version for github.com/spf13/cobra to 7be4beda01ec05d0b93d80b3facd2b6f44080d94.
[INFO] --> Setting version for github.com/spf13/jwalterweatherman to 33c24e77fb80341fe7130ee7c594256ff08ccc46.
[INFO] --> Setting version for github.com/tent/http-link-go to ac974c61c2f990f4115b119354b5e0b47550e888.
[INFO] --> Setting version for github.com/spf13/pflag to d16db1e50e33dff1b6cdf37596cef36742128670.
[INFO] --> Setting version for golang.org/x/net to b336a971b799939dd16ae9b1df8334cb8b977c4d.
[INFO] --> Setting version for cloud.google.com/go to e4de3dc4493f142c5833f3185e1182025a61f805.
[INFO] --> Setting version for golang.org/x/crypto to 453249f01cfeb54c3d549ddb75ff152ca243f9d8.
[INFO] --> Setting version for gopkg.in/yaml.v1 to bc35f417f8a7664a73d46c9def2933417c03019f.
[INFO] --> Setting version for google.golang.org/api to d61af0b67e5c8213e8c260ac29a762487bad020d.
[INFO] --> Setting version for gopkg.in/yaml.v2 to bc35f417f8a7664a73d46c9def2933417c03019f.
[INFO] --> Setting version for golang.org/x/text to 85c29909967d7f171f821e7a42e7b7af76fb9598.
[INFO] --> Setting version for golang.org/x/oauth2 to 314dd2c0bf3ebd592ec0d20847d27e79d0dbe8dd.
[INFO] --> Setting version for google.golang.org/appengine to 2e4a801b39fc199db615bfca7d0b9f8cd9580599.
[INFO] --> Setting version for golang.org/x/sys to 002cbb5f952456d0c50e0d2aff17ea5eca716979.
[INFO] --> Setting version for google.golang.org/grpc to cbcceb2942a489498cf22b2f918536e819d33f0a.
GOOS="" GOARCH="" go install github.com/codedellemc/rexray/vendor/github.com/jteeuwen/go-bindata/go-bindata
GOOS="" GOARCH="" go get -u github.com/alecthomas/gometalinter
GOOS="" GOARCH="" /go/bin/gometalinter --install --update && touch .gometalinter.tools.d
Installing:
gotype
ineffassign
unused
varcheck
dupl
goconst
interfacer
misspell
safesql
unparam
gocyclo
gosimple
lll
structcheck
unconvert
aligncheck
gas
goimports
golint
staticcheck
deadcode
errcheck
make build
make build-libstorage
cd vendor/github.com/codedellemc/libstorage && \
BUILD_TAGS="gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" make api/api_generated.go && \
cd -
echo generating api/api_generated.go
generating api/api_generated.go
/go/src/github.com/codedellemc/rexray
cd vendor/github.com/codedellemc/libstorage && \
BUILD_TAGS="gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" make api/server/executors/executors_generated.go && \
cd -
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./api/types
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./api/context
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./api/utils
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./api/registry
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./api/utils/config
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./imports/config
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./drivers/storage/ebs
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./drivers/storage/ebs/utils
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./drivers/storage/ebs/executor
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./imports/executors
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./cli/lsx
GOOS=linux GOARCH=amd64 go install -tags "gofig libstorage_integration_driver_linux libstorage_storage_driver libstorage_storage_driver_ebs libstorage_storage_executor libstorage_storage_executor_ebs pflag scripts_generated" ./cli/lsx/lsx-linux
cp -f /go/bin/lsx-linux api/server/executors/bin/lsx-linux
/go/bin/go-bindata -md5checksum -pkg executors -prefix api/server/executors/bin -o api/server/executors/executors_generated.go api/server/executors/bin/...
/go/src/github.com/codedellemc/rexray
make build-generated
make ./core/core_generated.go
echo generating core/core_generated.go
generating core/core_generated.go
make -j build-rexray
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./core
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./cli/cli/template
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./cli/cli/term
/go/bin/go-bindata -ignore 'test(?:\.sh)?' -tags "scripts_generated,!rexray_build_type_agent,!rexray_build_type_controller" -md5checksum -pkg scripts -prefix scripts/scripts -o scripts/scripts_generated.go scripts/scripts/...
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./scripts
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./util
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" .
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./daemon/module
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./daemon/module/docker/volumedriver
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./daemon
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./cli/cli
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./cli/rexray
GOOS=linux GOARCH=amd64 go install -tags "gofig pflag libstorage_integration_driver_linux scripts_generated libstorage_storage_driver libstorage_storage_executor libstorage_storage_driver_ebs libstorage_storage_executor_ebs" ./cli/rexray/rexray
---> 2a450e0bea6a
Removing intermediate container 26a60edfc81d
Step 7/17 : FROM alpine:3.5
---> 8b613b705735
Step 8/17 : LABEL build ""
---> Using cache
---> c3921ac9d853
Step 9/17 : LABEL drivers "ebs"
---> Using cache
---> c23a4e6ea8c3
Step 10/17 : LABEL version "0.9.1+14+dirty"
---> Using cache
---> 3bcd7c526e13
Step 11/17 : COPY --from=rexray-builder /go/bin//$REXRAY /usr/bin/$REXRAY
---> 8ef84c2f86ea
Removing intermediate container 8cfc7062ee0c
Step 12/17 : COPY .Dockerfile.tmp /Dockerfile
---> a414f70d794b
Removing intermediate container 88ab2247d53d
Step 13/17 : RUN apk update
---> Running in f40b9a5a9c2f
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz
v3.5.2-119-g586221122a [http://dl-cdn.alpinelinux.org/alpine/v3.5/main]
v3.5.2-110-gd9e62397fb [http://dl-cdn.alpinelinux.org/alpine/v3.5/community]
OK: 7964 distinct packages available
---> c6fb1e101a7d
Removing intermediate container f40b9a5a9c2f
Step 14/17 : RUN apk add xfsprogs e2fsprogs ca-certificates
---> Running in 898758eeaf5d
(1/7) Installing ca-certificates (20161130-r1)
(2/7) Installing libuuid (2.28.2-r1)
(3/7) Installing libblkid (2.28.2-r1)
(4/7) Installing libcom_err (1.43.3-r0)
(5/7) Installing e2fsprogs-libs (1.43.3-r0)
(6/7) Installing e2fsprogs (1.43.3-r0)
(7/7) Installing xfsprogs (4.5.0-r0)
Executing busybox-1.25.1-r0.trigger
Executing ca-certificates-20161130-r1.trigger
OK: 7 MiB in 18 packages
---> dce6f87d22f9
Removing intermediate container 898758eeaf5d
Step 15/17 : RUN mkdir -p /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
---> Running in 8855fc31f650
---> 0c4f62f22795
Removing intermediate container 8855fc31f650
Step 16/17 : RUN mkdir -p /etc/rexray /run/docker/plugins /var/lib/libstorage/volumes
---> Running in 6c4b812cb155
---> 47f9a1023ba8
Removing intermediate container 6c4b812cb155
Step 17/17 : ENTRYPOINT /usr/bin/rexray
---> Running in 5e93c8f1262e
---> 1a69173da837
Removing intermediate container 5e93c8f1262e
Successfully built 1a69173da837
Successfully tagged rexray/rexray:0.9.1-14-dirty
f38c608e34b7783f979ecf4b68f36e42b9bb58179195e533d5f3ca1406494c49
calculating make targets
(the screen may appear frozen for a few moments)
sed -e 's/${VERSION}/0.9.1+14+dirty/g' \
-e 's/${DRIVERS}/ebs/g' \
.docker/plugins/Dockerfile > .docker/plugins/ebs/Dockerfile
cp -f .docker/plugins/rexray.sh .docker/plugins/ebs/rexray.sh
sed -e 's/${DRIVERS}/ebs/g' \
.docker/plugins/rexray.yml > .docker/plugins/ebs/rexray.yml
for d in ebs; do \
echo " $d:" >> .docker/plugins/ebs/rexray.yml; \
echo " driver: $d" >> .docker/plugins/ebs/rexray.yml; \
done
cp -f rexray-ebs .docker/plugins/ebs/rexray
docker plugin rm rexray/ebs:0.9.1-14-dirty 2> /dev/null || true
sudo rm -fr .docker/plugins/ebs/rootfs
docker build -t rootfsimage .docker/plugins/ebs && \
id=$(docker create rootfsimage true) && \
sudo mkdir -p .docker/plugins/ebs/rootfs && \
sudo docker export "$id" | sudo tar -x -C .docker/plugins/ebs/rootfs && \
docker rm -vf "$id" && \
docker rmi rootfsimage
Sending build context to Docker daemon 27.83MB
Step 1/13 : FROM alpine:3.5
---> 8b613b705735
Step 2/13 : LABEL drivers "ebs"
---> Running in c164ff23430a
---> 4ecf24b420ed
Removing intermediate container c164ff23430a
Step 3/13 : LABEL version "0.9.1+14+dirty"
---> Running in 9a324931b3a4
---> 8a05d277a7e1
Removing intermediate container 9a324931b3a4
Step 4/13 : RUN apk update
---> Running in 9b57d688af1b
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz
v3.5.2-119-g586221122a [http://dl-cdn.alpinelinux.org/alpine/v3.5/main]
v3.5.2-110-gd9e62397fb [http://dl-cdn.alpinelinux.org/alpine/v3.5/community]
OK: 7964 distinct packages available
---> 1aff305f677d
Removing intermediate container 9b57d688af1b
Step 5/13 : RUN apk add xfsprogs e2fsprogs ca-certificates
---> Running in c9623e0753b0
(1/7) Installing ca-certificates (20161130-r1)
(2/7) Installing libuuid (2.28.2-r1)
(3/7) Installing libblkid (2.28.2-r1)
(4/7) Installing libcom_err (1.43.3-r0)
(5/7) Installing e2fsprogs-libs (1.43.3-r0)
(6/7) Installing e2fsprogs (1.43.3-r0)
(7/7) Installing xfsprogs (4.5.0-r0)
Executing busybox-1.25.1-r0.trigger
Executing ca-certificates-20161130-r1.trigger
OK: 7 MiB in 18 packages
---> 5affbe376a36
Removing intermediate container c9623e0753b0
Step 6/13 : RUN mkdir -p /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
---> Running in 5227fb383e46
---> f2c1f0326cfc
Removing intermediate container 5227fb383e46
Step 7/13 : RUN mkdir -p /etc/rexray /run/docker/plugins /var/lib/libstorage/volumes
---> Running in fabde51f2424
---> 38b93ee4fef2
Removing intermediate container fabde51f2424
Step 8/13 : ADD rexray /usr/bin/rexray
---> 13bb0db81cc3
Removing intermediate container c3650264e289
Step 9/13 : ADD rexray.yml /etc/rexray/rexray.yml
---> 6b7194087469
Removing intermediate container 745fbe467c39
Step 10/13 : ADD rexray.sh /rexray.sh
---> 00604435a10a
Removing intermediate container 84b4dec1e879
Step 11/13 : RUN chmod +x /rexray.sh
---> Running in 658f62ec1da3
---> 2696409db6b6
Removing intermediate container 658f62ec1da3
Step 12/13 : CMD rexray start -f --nopid
---> Running in 331638c3c647
---> a13e4201bc80
Removing intermediate container 331638c3c647
Step 13/13 : ENTRYPOINT /rexray.sh
---> Running in 96b80931f71e
---> f94cd540c45d
Removing intermediate container 96b80931f71e
Successfully built f94cd540c45d
Successfully tagged rootfsimage:latest
06215b16d3621730f342f5dfb848f46d7217b48b09e31f4d572f5048eb5e2938
Untagged: rootfsimage:latest
Deleted: sha256:f94cd540c45d312cd49e51a78f45ff610512920e7c1e2b11f42cb1db6fcdf49b
Deleted: sha256:a13e4201bc80b752bcfa2a7b3532581d8531f6c2cd11872f1593dd34960918cb
Deleted: sha256:2696409db6b6bb1aef16dbe322bdb8076a54b1be3a016da8cc180e9b38f57874
Deleted: sha256:02426dc74f3c95b9ba8cd09f84143aa2ad044d818411f57a976acaeabdf169b1
Deleted: sha256:00604435a10a20508e251551601c5454d5fec0e6db8c652844abd81b1af87e96
Deleted: sha256:1fc0855b04bca8768641d3a5f7e60a9392d2c29a6978296b287e54528900a4fa
Deleted: sha256:6b7194087469a1bd92d70533fedeef8263aeeb2d4044e45ba57c5ec5a2a0df32
Deleted: sha256:f7bc2b60fb0c6dd7f5af4e42e99c4ee39c06996d53c4bbd0d783e7f6a9e51bb8
Deleted: sha256:13bb0db81cc367a5978c3030f1a865a55aff9bf9e3d648e8bb0913bb6a2688fa
Deleted: sha256:5242886c85e282fb1c97c2cd38fa6f1d6766804d52a0b6fcd0226a5171e43a89
Deleted: sha256:38b93ee4fef276a836bc1b78bd571c854ff240e9cf0db0dd414d1183cc81a309
Deleted: sha256:da93045570d7996df44cb24f70b05fe8785d101008d74485380257ce811399e4
Deleted: sha256:f2c1f0326cfc675bebae897f9b81a60a32e5d93985f5804be2a88d1a3275608c
Deleted: sha256:d5aa834bc655ef4265b0851021739c5f6971d011c66e43d13d3774a2f3f8b3da
Deleted: sha256:5affbe376a369fcd41f9b49f7fe33c459b11f340e219004993ed71d6f0f23c2e
Deleted: sha256:a943fbfd9f94394540496500cc60003120e85ecba718759544a4c41ee8f93959
Deleted: sha256:1aff305f677d03dbf397a41c6a0279a4a68c6f17110ea076d8910bf6816a9ce3
Deleted: sha256:b8fefcb219484bac99798ddc4dc2954d0212859b86b6a560e8526db9a7bf3fd7
Deleted: sha256:8a05d277a7e1a456af668173b1d1bc49aba23fc81c8fbc0c569be57ea49f4824
Deleted: sha256:4ecf24b420ed9e51a1d5759301a1658d94575041f361eebd1d597a3e54e71a19
sudo docker plugin create rexray/ebs:0.9.1-14-dirty .docker/plugins/ebs
rexray/ebs:0.9.1-14-dirty
docker plugin ls
ID NAME DESCRIPTION ENABLED
825e4033902a rexray/ebs:0.9.1-14-dirty REX-Ray for Amazon EBS false
successfully built REX-Ray!
REX-Ray binary is.... ./rexray-ebs
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment