Skip to content

Commit

Permalink
remove glide
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsiaw committed Jul 23, 2024
1 parent 4173ec6 commit 41c18be
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 59 deletions.
10 changes: 2 additions & 8 deletions dockerfiles/run-pack/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
40 changes: 0 additions & 40 deletions dockerfiles/run-pack/glide.lock

This file was deleted.

11 changes: 0 additions & 11 deletions dockerfiles/run-pack/glide.yaml

This file was deleted.

0 comments on commit 41c18be

Please sign in to comment.