mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
b529d1b093
Originally I worked on this for the multi-stage build Dockerfile changes. Decided to split this out as we are still waiting for multi-stage to be available on CI and rebasing these is pretty annoying. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
12 lines
489 B
Bash
Executable file
12 lines
489 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# When updating TOMLV_COMMIT, consider updating github.com/BurntSushi/toml
|
|
# in vendor.conf accordingly
|
|
TOMLV_COMMIT=a368813c5e648fee92e5f6c30e3944ff9d5e8895
|
|
|
|
install_tomlv() {
|
|
echo "Install tomlv version $TOMLV_COMMIT"
|
|
git clone https://github.com/BurntSushi/toml.git "$GOPATH/src/github.com/BurntSushi/toml"
|
|
cd "$GOPATH/src/github.com/BurntSushi/toml" && git checkout -q "$TOMLV_COMMIT"
|
|
go build -v -buildmode=pie -o ${PREFIX}/tomlv github.com/BurntSushi/toml/cmd/tomlv
|
|
}
|