From 41c18be681aeabc9bd6f17f79beaf362ec04c3c8 Mon Sep 17 00:00:00 2001 From: David Siaw Date: Tue, 23 Jul 2024 15:35:52 +0900 Subject: [PATCH] remove glide --- dockerfiles/run-pack/Dockerfile | 10 ++------- dockerfiles/run-pack/glide.lock | 40 --------------------------------- dockerfiles/run-pack/glide.yaml | 11 --------- 3 files changed, 2 insertions(+), 59 deletions(-) delete mode 100644 dockerfiles/run-pack/glide.lock delete mode 100644 dockerfiles/run-pack/glide.yaml diff --git a/dockerfiles/run-pack/Dockerfile b/dockerfiles/run-pack/Dockerfile index 611477c3..623864f4 100644 --- a/dockerfiles/run-pack/Dockerfile +++ b/dockerfiles/run-pack/Dockerfile @@ -1,16 +1,10 @@ FROM alpine -ENV GOPATH /.go -ENV GOBIN $GOPATH/bin -ENV PATH=$GOBIN:$PATH - ADD . /.go/src/app -RUN apk add --no-cache go curl git gcc libc-dev glide \ - && cd $GOPATH/src/app \ - && mkdir -p $GOBIN \ +RUN apk add --no-cache go curl git gcc libc-dev \ + && cd /.go/src/app \ && mkdir /barcelona \ - && glide install \ && go build -o /barcelona/barcelona-run --ldflags '-linkmode external -extldflags "-static"' \ && rm -rf /.go \ && apk del --purge go curl git gcc libc-dev diff --git a/dockerfiles/run-pack/glide.lock b/dockerfiles/run-pack/glide.lock deleted file mode 100644 index f1834a15..00000000 --- a/dockerfiles/run-pack/glide.lock +++ /dev/null @@ -1,40 +0,0 @@ -hash: b3d2bbd3574b56c9945e47ba6dbf7ac373eba8a7d966c89ea73fd766a8e6988a -updated: 2016-09-06T14:49:21.065826411+09:00 -imports: -- name: github.com/aws/aws-sdk-go - version: 6ac30507cca29249f4d49af45a8efc98b84088ee - subpackages: - - aws - - aws/awserr - - aws/awsutil - - aws/client - - aws/client/metadata - - aws/corehandlers - - aws/credentials - - aws/credentials/ec2rolecreds - - aws/credentials/endpointcreds - - aws/credentials/stscreds - - aws/defaults - - aws/ec2metadata - - aws/request - - aws/session - - aws/signer/v4 - - private/endpoints - - private/protocol - - private/protocol/query - - private/protocol/query/queryutil - - private/protocol/rest - - private/protocol/restxml - - private/protocol/xml/xmlutil - - private/waiter - - service/s3 - - service/sts -- name: github.com/go-ini/ini - version: 6e4869b434bd001f6983749881c7ead3545887d8 -- name: github.com/jmespath/go-jmespath - version: bd40a432e4c76585ef6b72d3fd96fb9b6dc7b68d -- name: github.com/mitchellh/go-ps - version: e2d21980687ce16e58469d98dcee92d27fbbd7fb -- name: github.com/urfave/cli - version: a14d7d367bc02b1f57d88de97926727f2d936387 -testImports: [] diff --git a/dockerfiles/run-pack/glide.yaml b/dockerfiles/run-pack/glide.yaml deleted file mode 100644 index b24b3718..00000000 --- a/dockerfiles/run-pack/glide.yaml +++ /dev/null @@ -1,11 +0,0 @@ -package: . -import: -- package: github.com/aws/aws-sdk-go - version: ^1.4.6 - subpackages: - - aws - - aws/session - - service/s3 -- package: github.com/mitchellh/go-ps -- package: github.com/urfave/cli - version: ^1.18.1