Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
docker-elk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
段孔乐
docker-elk
Commits
94104beb
Unverified
Commit
94104beb
authored
Dec 23, 2020
by
Antoine Cotten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logspout: Sync build script with upstream
parent
29b98819
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
build.sh
extensions/logspout/build.sh
+4
-9
No files found.
extensions/logspout/build.sh
View file @
94104beb
#!/bin/sh
# unmodified from:
# https://github.com/gliderlabs/logspout/blob/67ee3831cbd0594361bb3381380c65bdbeb3c20f/custom/build.sh
# source: https://github.com/gliderlabs/logspout/blob/621524e/custom/build.sh
set
-e
apk add
--update
go git mercurial build-base
mkdir
-p
/go/src/github.com/gliderlabs
cp
-r
/src /go/src/github.com/gliderlabs/logspout
cd
/go/src/github.com/gliderlabs/logspout
export
GOPATH
=
/go
go get
apk add
--update
go build-base git mercurial ca-certificates
cd
/src
go build
-ldflags
"-X main.Version=
$1
"
-o
/bin/logspout
apk del go git mercurial build-base
rm
-rf
/
go /var/cache/apk/
*
/root/.glide
rm
-rf
/
root/go /var/cache/apk/
*
# backwards compatibility
ln
-fs
/tmp/docker.sock /var/run/docker.sock
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment