update to use containerd seccomp package
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
9ff5e389ff
commit
09243b740c
8199 changed files with 30742 additions and 1598219 deletions
20
vendor/github.com/docker/distribution/project/dev-image/Dockerfile
generated
vendored
20
vendor/github.com/docker/distribution/project/dev-image/Dockerfile
generated
vendored
|
@ -1,20 +0,0 @@
|
|||
FROM ubuntu:14.04
|
||||
|
||||
ENV GOLANG_VERSION 1.4rc1
|
||||
ENV GOPATH /var/cache/drone
|
||||
ENV GOROOT /usr/local/go
|
||||
ENV PATH $PATH:$GOROOT/bin:$GOPATH/bin
|
||||
|
||||
ENV LANG C
|
||||
ENV LC_ALL C
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
wget ca-certificates git mercurial bzr \
|
||||
--no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN wget https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz --quiet && \
|
||||
tar -C /usr/local -xzf go$GOLANG_VERSION.linux-amd64.tar.gz && \
|
||||
rm go${GOLANG_VERSION}.linux-amd64.tar.gz
|
||||
|
||||
RUN go get github.com/axw/gocov/gocov github.com/mattn/goveralls github.com/golang/lint/golint
|
6
vendor/github.com/docker/distribution/project/hooks/README.md
generated
vendored
6
vendor/github.com/docker/distribution/project/hooks/README.md
generated
vendored
|
@ -1,6 +0,0 @@
|
|||
Git Hooks
|
||||
=========
|
||||
|
||||
To enforce valid and properly-formatted code, there is CI in place which runs `gofmt`, `golint`, and `go vet` against code in the repository.
|
||||
|
||||
As an aid to prevent committing invalid code in the first place, a git pre-commit hook has been added to the repository, found in [pre-commit](./pre-commit). As it is impossible to automatically add linked hooks to a git repository, this hook should be linked into your `.git/hooks/pre-commit`, which can be done by running the `configure-hooks.sh` script in this directory. This script is the preferred method of configuring hooks, as it will be updated as more are added.
|
18
vendor/github.com/docker/distribution/project/hooks/configure-hooks.sh
generated
vendored
18
vendor/github.com/docker/distribution/project/hooks/configure-hooks.sh
generated
vendored
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
REPO_ROOT=$(git rev-parse --show-toplevel)
|
||||
RESOLVE_REPO_ROOT_STATUS=$?
|
||||
if [ "$RESOLVE_REPO_ROOT_STATUS" -ne "0" ]; then
|
||||
echo -e "Unable to resolve repository root. Error:\n$REPO_ROOT" > /dev/stderr
|
||||
exit $RESOLVE_REPO_ROOT_STATUS
|
||||
fi
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
# Just in case the directory doesn't exist
|
||||
mkdir -p $REPO_ROOT/.git/hooks
|
||||
|
||||
ln -f -s $(pwd)/pre-commit $REPO_ROOT/.git/hooks/pre-commit
|
29
vendor/github.com/docker/distribution/project/hooks/pre-commit
generated
vendored
29
vendor/github.com/docker/distribution/project/hooks/pre-commit
generated
vendored
|
@ -1,29 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
REPO_ROOT=$(git rev-parse --show-toplevel)
|
||||
RESOLVE_REPO_ROOT_STATUS=$?
|
||||
if [ "$RESOLVE_REPO_ROOT_STATUS" -ne "0" ]; then
|
||||
printf "Unable to resolve repository root. Error:\n%s\n" "$RESOLVE_REPO_ROOT_STATUS" > /dev/stderr
|
||||
exit $RESOLVE_REPO_ROOT_STATUS
|
||||
fi
|
||||
|
||||
cd $REPO_ROOT
|
||||
|
||||
GOFMT_ERRORS=$(gofmt -s -l . 2>&1)
|
||||
if [ -n "$GOFMT_ERRORS" ]; then
|
||||
printf 'gofmt failed for the following files:\n%s\n\nPlease run "gofmt -s -l ." in the root of your repository before committing\n' "$GOFMT_ERRORS" > /dev/stderr
|
||||
exit 1
|
||||
fi
|
||||
|
||||
GOLINT_ERRORS=$(golint ./... 2>&1)
|
||||
if [ -n "$GOLINT_ERRORS" ]; then
|
||||
printf "golint failed with the following errors:\n%s\n" "$GOLINT_ERRORS" > /dev/stderr
|
||||
exit 1
|
||||
fi
|
||||
|
||||
GOVET_ERRORS=$(go vet ./... 2>&1)
|
||||
GOVET_STATUS=$?
|
||||
if [ "$GOVET_STATUS" -ne "0" ]; then
|
||||
printf "govet failed with the following errors:\n%s\n" "$GOVET_ERRORS" > /dev/stderr
|
||||
exit $GOVET_STATUS
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue