mirror of
https://github.com/containers/skopeo.git
synced 2026-02-21 14:42:42 +00:00
Note that this assumes that both (docker login) and (oc login) has happened, the credentials can be read from the usual config files, and that the default OpenShift instance should be used. This includes copy&pasted/modified/simplified code from OpenShift and Kubernetes, primarily for config file parsing and setting up TLS and HTTP authentication. This is much smaller than linking to the upstream OpenShift client libraries, which via various abstractions and registration drag in much (dozens of megabytes) more code. The primary loss from this simplification is automatic conversions between various versions of the API objects, both for the REST API and for local configuration storage. This does not contain downloading/uploading signatures, which depends on server-side support.
29 lines
1.1 KiB
Bash
Executable File
29 lines
1.1 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
cd "$(dirname "$BASH_SOURCE")/.."
|
|
rm -rf vendor/
|
|
source 'hack/.vendor-helpers.sh'
|
|
|
|
clone git github.com/codegangsta/cli v1.2.0
|
|
clone git github.com/Sirupsen/logrus v0.10.0
|
|
clone git github.com/go-check/check v1
|
|
clone git github.com/stretchr/testify v1.1.3
|
|
clone git github.com/davecgh/go-spew master
|
|
clone git github.com/pmezard/go-difflib master
|
|
clone git github.com/docker/docker 0f5c9d301b9b1cca66b3ea0f9dec3b5317d3686d
|
|
clone git github.com/docker/distribution master
|
|
clone git github.com/docker/libtrust master
|
|
clone git github.com/opencontainers/runc master
|
|
clone git github.com/mtrmac/gpgme master
|
|
# openshift/origin' k8s dependencies as of OpenShift v1.1.5
|
|
clone git github.com/golang/glog 44145f04b68cf362d9c4df2182967c2275eaefed
|
|
clone git k8s.io/kubernetes 4a3f9c5b19c7ff804cbc1bf37a15c044ca5d2353 https://github.com/openshift/kubernetes
|
|
clone git github.com/ghodss/yaml 73d445a93680fa1a78ae23a5839bad48f32ba1ee
|
|
clone git gopkg.in/yaml.v2 d466437aa4adc35830964cffc5b5f262c63ddcb4
|
|
clone git github.com/imdario/mergo 6633656539c1639d9d78127b7d47c622b5d7b6dc
|
|
|
|
clean
|
|
|
|
mv vendor/src/* vendor/
|