mirror of
https://github.com/containers/skopeo.git
synced 2025-09-02 07:06:04 +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
|
&& dnf -y update && dnf install -y m2crypto
|
||||||
|
|
||||||
ENV GOPATH /usr/share/gocode:/go
|
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"]
|
#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_
|
_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.
|
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
|
```sh
|
||||||
$ cd $GOPATH/src
|
$ cd $GOPATH/src
|
||||||
$ mkdir -p github.com/runcom
|
$ mkdir -p github.com/projectatomic
|
||||||
$ cd runcom
|
$ cd projectatomic
|
||||||
$ git clone https://github.com/runcom/skopeo
|
$ git clone https://github.com/projectatomic/skopeo
|
||||||
$ cd skopeo && make binary
|
$ cd skopeo && make binary
|
||||||
```
|
```
|
||||||
Man:
|
Man:
|
||||||
|
@@ -25,7 +25,7 @@ import (
|
|||||||
"github.com/docker/docker/registry"
|
"github.com/docker/docker/registry"
|
||||||
engineTypes "github.com/docker/engine-api/types"
|
engineTypes "github.com/docker/engine-api/types"
|
||||||
registryTypes "github.com/docker/engine-api/types/registry"
|
registryTypes "github.com/docker/engine-api/types/registry"
|
||||||
"github.com/runcom/skopeo/types"
|
"github.com/projectatomic/skopeo/types"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@@ -16,7 +16,7 @@ import (
|
|||||||
"github.com/docker/docker/reference"
|
"github.com/docker/docker/reference"
|
||||||
"github.com/docker/docker/registry"
|
"github.com/docker/docker/registry"
|
||||||
engineTypes "github.com/docker/engine-api/types"
|
engineTypes "github.com/docker/engine-api/types"
|
||||||
"github.com/runcom/skopeo/types"
|
"github.com/projectatomic/skopeo/types"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@@ -20,7 +20,7 @@ import (
|
|||||||
"github.com/docker/docker/reference"
|
"github.com/docker/docker/reference"
|
||||||
"github.com/docker/docker/registry"
|
"github.com/docker/docker/registry"
|
||||||
engineTypes "github.com/docker/engine-api/types"
|
engineTypes "github.com/docker/engine-api/types"
|
||||||
"github.com/runcom/skopeo/types"
|
"github.com/projectatomic/skopeo/types"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@ set -e
|
|||||||
|
|
||||||
set -o pipefail
|
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 SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
export MAKEDIR="$SCRIPTDIR/make"
|
export MAKEDIR="$SCRIPTDIR/make"
|
||||||
|
|
||||||
|
@@ -5,8 +5,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/codegangsta/cli"
|
"github.com/codegangsta/cli"
|
||||||
"github.com/runcom/skopeo/docker"
|
"github.com/projectatomic/skopeo/docker"
|
||||||
"github.com/runcom/skopeo/types"
|
"github.com/projectatomic/skopeo/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
type imgKind int
|
type imgKind int
|
||||||
|
Reference in New Issue
Block a user