forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid git cloning from the deb6 image (elastic#6459)
It seems that by now Debian 6 is so old that `git clone` from Github repositories no longer works. We only needed git clone from it to get gotpl running, which is a relatively small program so I included it and its dependency (go-yaml) as vendored files. Tested `make package` locally.
- Loading branch information
1 parent
0befa20
commit 07a2669
Showing
23 changed files
with
9,738 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
beats-builder/yaml.v2 | ||
beats-builder/gotpl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/bin/sh | ||
|
||
cp -r ../../../vendor/gopkg.in/yaml.v2 beats-builder/yaml.v2 | ||
cp -r ../../../vendor/github.com/tsg/gotpl beats-builder/gotpl | ||
docker build --rm=true -t tudorg/xgo-deb6-base base/ && \ | ||
docker build --rm=true -t tudorg/xgo-deb6-1.9.4 go-1.9.4/ && | ||
docker build --rm=true -t tudorg/beats-builder-deb6 beats-builder |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.