mirror of
https://github.com/containers/skopeo.git
synced 2025-08-31 14:20:21 +00:00
adapt code for projectatomic github
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
@@ -38,8 +38,8 @@ RUN set -x \
|
||||
&& dnf -y update && dnf install -y m2crypto
|
||||
|
||||
ENV GOPATH /usr/share/gocode:/go
|
||||
WORKDIR /go/src/github.com/runcom/skopeo
|
||||
WORKDIR /go/src/github.com/projectatomic/skopeo
|
||||
|
||||
COPY . /go/src/github.com/runcom/skopeo
|
||||
COPY . /go/src/github.com/projectatomic/skopeo
|
||||
|
||||
#ENTRYPOINT ["hack/dind"]
|
||||
|
@@ -1,4 +1,4 @@
|
||||
skopeo [](https://travis-ci.org/runcom/skopeo)
|
||||
skopeo [](https://travis-ci.org/projectatomic/skopeo)
|
||||
=
|
||||
|
||||
_Please be aware `skopeo` is still work in progress_
|
||||
@@ -80,9 +80,9 @@ Building
|
||||
To build `skopeo` you need at least Go 1.5 because it uses the latest `GO15VENDOREXPERIMENT` flag. Also, make sure to clone the repository in your `GOPATH` - otherwise compilation fails.
|
||||
```sh
|
||||
$ cd $GOPATH/src
|
||||
$ mkdir -p github.com/runcom
|
||||
$ cd runcom
|
||||
$ git clone https://github.com/runcom/skopeo
|
||||
$ mkdir -p github.com/projectatomic
|
||||
$ cd projectatomic
|
||||
$ git clone https://github.com/projectatomic/skopeo
|
||||
$ cd skopeo && make binary
|
||||
```
|
||||
Man:
|
||||
|
@@ -25,7 +25,7 @@ import (
|
||||
"github.com/docker/docker/registry"
|
||||
engineTypes "github.com/docker/engine-api/types"
|
||||
registryTypes "github.com/docker/engine-api/types/registry"
|
||||
"github.com/runcom/skopeo/types"
|
||||
"github.com/projectatomic/skopeo/types"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
|
@@ -16,7 +16,7 @@ import (
|
||||
"github.com/docker/docker/reference"
|
||||
"github.com/docker/docker/registry"
|
||||
engineTypes "github.com/docker/engine-api/types"
|
||||
"github.com/runcom/skopeo/types"
|
||||
"github.com/projectatomic/skopeo/types"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
|
@@ -20,7 +20,7 @@ import (
|
||||
"github.com/docker/docker/reference"
|
||||
"github.com/docker/docker/registry"
|
||||
engineTypes "github.com/docker/engine-api/types"
|
||||
"github.com/runcom/skopeo/types"
|
||||
"github.com/projectatomic/skopeo/types"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
|
@@ -19,7 +19,7 @@ set -e
|
||||
|
||||
set -o pipefail
|
||||
|
||||
export SKOPEO_PKG='github.com/runcom/skopeo'
|
||||
export SKOPEO_PKG='github.com/projectatomic/skopeo'
|
||||
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
export MAKEDIR="$SCRIPTDIR/make"
|
||||
|
||||
|
@@ -5,8 +5,8 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/codegangsta/cli"
|
||||
"github.com/runcom/skopeo/docker"
|
||||
"github.com/runcom/skopeo/types"
|
||||
"github.com/projectatomic/skopeo/docker"
|
||||
"github.com/projectatomic/skopeo/types"
|
||||
)
|
||||
|
||||
type imgKind int
|
||||
|
Reference in New Issue
Block a user