add better generate
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
3fc6abf56b
commit
cdd93563f5
5655 changed files with 1187011 additions and 392 deletions
8
vendor/github.com/docker/docker-ce/components/cli/dockerfiles/Dockerfile.binary-native
generated
vendored
Normal file
8
vendor/github.com/docker/docker-ce/components/cli/dockerfiles/Dockerfile.binary-native
generated
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
FROM golang:1.9.4-alpine3.6
|
||||
|
||||
RUN apk add -U git bash coreutils gcc musl-dev
|
||||
|
||||
ENV CGO_ENABLED=0 \
|
||||
DISABLE_WARN_OUTSIDE_CONTAINER=1
|
||||
WORKDIR /go/src/github.com/docker/cli
|
||||
CMD ./scripts/build/binary
|
3
vendor/github.com/docker/docker-ce/components/cli/dockerfiles/Dockerfile.cross
generated
vendored
Normal file
3
vendor/github.com/docker/docker-ce/components/cli/dockerfiles/Dockerfile.cross
generated
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
FROM dockercore/golang-cross:1.9.4@sha256:b8d43ef11ccaa15bec63a1f1fd0c28a0e729074aa62fcfa51f0a5888f3571315
|
||||
ENV DISABLE_WARN_OUTSIDE_CONTAINER=1
|
||||
WORKDIR /go/src/github.com/docker/cli
|
37
vendor/github.com/docker/docker-ce/components/cli/dockerfiles/Dockerfile.dev
generated
vendored
Normal file
37
vendor/github.com/docker/docker-ce/components/cli/dockerfiles/Dockerfile.dev
generated
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
|
||||
FROM golang:1.9.4-alpine3.6
|
||||
|
||||
RUN apk add -U git make bash coreutils ca-certificates curl
|
||||
|
||||
ARG VNDR_SHA=a6e196d8b4b0cbbdc29aebdb20c59ac6926bb384
|
||||
RUN go get -d github.com/LK4D4/vndr && \
|
||||
cd /go/src/github.com/LK4D4/vndr && \
|
||||
git checkout -q "$VNDR_SHA" && \
|
||||
go build -v -o /usr/bin/vndr . && \
|
||||
rm -rf /go/src/* /go/pkg/* /go/bin/*
|
||||
|
||||
ARG ESC_SHA=58d9cde84f237ecdd89bd7f61c2de2853f4c5c6e
|
||||
RUN go get -d github.com/mjibson/esc && \
|
||||
cd /go/src/github.com/mjibson/esc && \
|
||||
git checkout -q "$ESC_SHA" && \
|
||||
go build -v -o /usr/bin/esc . && \
|
||||
rm -rf /go/src/* /go/pkg/* /go/bin/*
|
||||
|
||||
ARG FILEWATCHER_SHA=2e12ea42f6c8c089b19e992145bb94e8adaecedb
|
||||
RUN go get -d github.com/dnephin/filewatcher && \
|
||||
cd /go/src/github.com/dnephin/filewatcher && \
|
||||
git checkout -q "$FILEWATCHER_SHA" && \
|
||||
go build -v -o /usr/bin/filewatcher . && \
|
||||
rm -rf /go/src/* /go/pkg/* /go/bin/*
|
||||
|
||||
# FIXME(vdemeester) only used for e2e, could be in e2e special image in the future
|
||||
ARG NOTARY_VERSION=v0.6.0
|
||||
RUN export URL=https://github.com/theupdateframework/notary/releases/download; \
|
||||
curl -Ls $URL/${NOTARY_VERSION}/notary-Linux-amd64 -o /usr/local/bin/notary && \
|
||||
chmod +x /usr/local/bin/notary
|
||||
|
||||
ENV CGO_ENABLED=0 \
|
||||
PATH=$PATH:/go/src/github.com/docker/cli/build \
|
||||
DISABLE_WARN_OUTSIDE_CONTAINER=1
|
||||
WORKDIR /go/src/github.com/docker/cli
|
||||
CMD sh
|
24
vendor/github.com/docker/docker-ce/components/cli/dockerfiles/Dockerfile.lint
generated
vendored
Normal file
24
vendor/github.com/docker/docker-ce/components/cli/dockerfiles/Dockerfile.lint
generated
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
FROM golang:1.9.4-alpine3.6
|
||||
|
||||
RUN apk add -U git
|
||||
|
||||
ARG GOMETALINTER_SHA=7f9672e7ea538b8682e83395d50b12f09bb17b91
|
||||
RUN go get -d github.com/alecthomas/gometalinter && \
|
||||
cd /go/src/github.com/alecthomas/gometalinter && \
|
||||
git checkout -q "$GOMETALINTER_SHA" && \
|
||||
go build -v -o /usr/local/bin/gometalinter . && \
|
||||
gometalinter --install && \
|
||||
rm -rf /go/src/* /go/pkg/*
|
||||
|
||||
ARG NAKEDRET_SHA=3ddb495a6d63bc9041ba843e7d651cf92639d8cb
|
||||
RUN go get -d github.com/alexkohler/nakedret && \
|
||||
cd /go/src/github.com/alexkohler/nakedret && \
|
||||
git checkout -q "$NAKEDRET_SHA" && \
|
||||
go build -v -o /usr/local/bin/nakedret . && \
|
||||
rm -rf /go/src/* /go/pkg/*
|
||||
|
||||
WORKDIR /go/src/github.com/docker/cli
|
||||
ENV CGO_ENABLED=0
|
||||
ENV DISABLE_WARN_OUTSIDE_CONTAINER=1
|
||||
ENTRYPOINT ["/usr/local/bin/gometalinter"]
|
||||
CMD ["--config=gometalinter.json", "./..."]
|
9
vendor/github.com/docker/docker-ce/components/cli/dockerfiles/Dockerfile.shellcheck
generated
vendored
Normal file
9
vendor/github.com/docker/docker-ce/components/cli/dockerfiles/Dockerfile.shellcheck
generated
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
FROM debian:stretch-slim
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y install make shellcheck && \
|
||||
apt-get clean
|
||||
|
||||
WORKDIR /go/src/github.com/docker/cli
|
||||
ENV DISABLE_WARN_OUTSIDE_CONTAINER=1
|
||||
CMD bash
|
17
vendor/github.com/docker/docker-ce/components/cli/dockerfiles/Dockerfile.test-e2e-env
generated
vendored
Normal file
17
vendor/github.com/docker/docker-ce/components/cli/dockerfiles/Dockerfile.test-e2e-env
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
FROM docker/compose:1.15.0
|
||||
|
||||
RUN apk add -U bash curl
|
||||
|
||||
ARG DOCKER_CHANNEL=edge
|
||||
ARG DOCKER_VERSION=17.06.0-ce
|
||||
RUN export URL=https://download.docker.com/linux/static; \
|
||||
curl -Ls $URL/$DOCKER_CHANNEL/x86_64/docker-$DOCKER_VERSION.tgz | \
|
||||
tar -xz docker/docker && \
|
||||
mv docker/docker /usr/local/bin/ && \
|
||||
rmdir docker
|
||||
ENV DISABLE_WARN_OUTSIDE_CONTAINER=1
|
||||
WORKDIR /work
|
||||
COPY scripts/test/e2e scripts/test/e2e
|
||||
COPY e2e/compose-env.yaml e2e/compose-env.yaml
|
||||
|
||||
ENTRYPOINT ["bash", "/work/scripts/test/e2e/run"]
|
Loading…
Add table
Add a link
Reference in a new issue