-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
34 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,32 @@ | ||
module github.com/xelalexv/dregsy | ||
|
||
go 1.13 | ||
go 1.17 | ||
|
||
require ( | ||
github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5 // indirect | ||
github.com/aws/aws-sdk-go v1.38.13 | ||
github.com/blang/semver/v4 v4.0.0 | ||
github.com/containerd/containerd v1.4.8 // indirect | ||
github.com/docker/cli v0.0.0-20200130152716-5d0cf8839492 // indirect | ||
github.com/docker/distribution v2.7.1+incompatible | ||
github.com/docker/distribution v2.8.0+incompatible | ||
github.com/docker/docker v20.10.0+incompatible | ||
github.com/docker/go-metrics v0.0.0-20181218153428-b84716841b82 // indirect | ||
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 // indirect | ||
github.com/golang-jwt/jwt v3.2.1+incompatible | ||
github.com/google/go-containerregistry v0.2.1 | ||
github.com/sirupsen/logrus v1.7.0 | ||
golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0 | ||
golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58 | ||
gopkg.in/yaml.v2 v2.3.0 | ||
) | ||
|
||
require ( | ||
github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5 // indirect | ||
github.com/containerd/containerd v1.4.12 // indirect | ||
github.com/docker/cli v0.0.0-20200130152716-5d0cf8839492 // indirect | ||
github.com/docker/go-metrics v0.0.0-20181218153428-b84716841b82 // indirect | ||
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 // indirect | ||
github.com/gorilla/mux v1.7.4 // indirect | ||
github.com/moby/term v0.0.0-20201110203204-bea5bbe245bf // indirect | ||
github.com/opencontainers/go-digest v1.0.0 // indirect | ||
github.com/opencontainers/image-spec v1.0.2 // indirect | ||
github.com/prometheus/client_golang v1.7.1 // indirect | ||
github.com/sirupsen/logrus v1.7.0 | ||
github.com/stretchr/testify v1.6.1 // indirect | ||
golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0 | ||
golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58 | ||
gopkg.in/yaml.v2 v2.3.0 | ||
) | ||
|
||
// replace github.com/Sirupsen/logrus => github.com/sirupsen/logrus v1.7.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,13 +14,17 @@ | |
# limitations under the License. | ||
# | ||
|
||
FROM alpine:3.14.0@sha256:1775bebec23e1f3ce486989bfc9ff3c4e951690df84aa9f926497d82f2ffca9d | ||
FROM alpine:3.14.3@sha256:5e604d3358ab7b6b734402ce2e19ddd822a354dc14843f34d36c603521dbb4f9 | ||
|
||
LABEL maintainer "[email protected]" | ||
|
||
ARG binaries | ||
|
||
RUN apk --update add --no-cache skopeo=1.3.1-r0 ca-certificates | ||
# | ||
# check for available Skopeo here: | ||
# https://pkgs.alpinelinux.org/packages?name=skopeo&branch=v3.15&arch=x86_64 | ||
# | ||
RUN apk --update add --no-cache skopeo=1.3.1-r1 ca-certificates | ||
|
||
COPY ${binaries}/dregsy /usr/local/bin | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
# limitations under the License. | ||
# | ||
|
||
FROM docker.io/ubuntu:20.04@sha256:1e48201ccc2ab83afc435394b3bf70af0fa0055215c1e26a5da9b50a1ae367c9 | ||
FROM docker.io/ubuntu:20.04@sha256:7c9c7fed23def3653a0da5bc9ecb651efe155ebd5802c7ba5d585edaa6c89496 | ||
|
||
LABEL maintainer "[email protected]" | ||
|
||
|
@@ -33,6 +33,9 @@ ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=yes | |
# --> Find a package source without amnesia, or switch to newer Ubuntu | ||
# base image, which would have Skopeo in its repos already. | ||
# | ||
# for Skopeo version available on kubic, check here: | ||
# https://build.opensuse.org/package/show/devel:kubic:libcontainers:stable/skopeo | ||
# | ||
|
||
RUN apt-get update && \ | ||
apt-get upgrade -y --fix-missing && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters