Skip to content

Commit

Permalink
Update to latest libnework commit
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Buckfelder <buckscot@amazon.com>
  • Loading branch information
Scott Buckfelder committed Nov 16, 2022
1 parent 4ed81ac commit c42838d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions hack/dockerfile/install/proxy.installer
Expand Up @@ -3,7 +3,7 @@
# LIBNETWORK_COMMIT is used to build the docker-userland-proxy binary. When
# updating the binary version, consider updating github.com/docker/libnetwork
# in vendor.conf accordingly
: "${LIBNETWORK_COMMIT:=0dde5c895075df6e3630e76f750a447cf63f4789}"
: "${LIBNETWORK_COMMIT:=dcdf8f176d1e13ad719e913e796fb698d846de98}"

install_proxy() {
case "$1" in
Expand All @@ -29,8 +29,8 @@ install_proxy_dynamic() {

_install_proxy() {
echo "Install docker-proxy version $LIBNETWORK_COMMIT"
git clone https://github.com/docker/libnetwork.git "$GOPATH/src/github.com/docker/libnetwork"
cd "$GOPATH/src/github.com/docker/libnetwork"
git clone https://github.com/moby/libnetwork.git "$GOPATH/src/github.com/moby/libnetwork"
cd "$GOPATH/src/github.com/moby/libnetwork"
git checkout -q "$LIBNETWORK_COMMIT"
go build ${BUILD_MODE} -ldflags="$PROXY_LDFLAGS" -o ${PREFIX}/docker-proxy github.com/docker/libnetwork/cmd/proxy
go build ${BUILD_MODE} -ldflags="$PROXY_LDFLAGS" -o ${PREFIX}/docker-proxy github.com/moby/libnetwork/cmd/proxy
}
2 changes: 1 addition & 1 deletion vendor.conf
Expand Up @@ -48,7 +48,7 @@ github.com/grpc-ecosystem/go-grpc-middleware 3c51f7f332123e8be5a157c0802a
# libnetwork

# When updating, also update LIBNETWORK_COMMIT in hack/dockerfile/install/proxy.installer accordingly
github.com/docker/libnetwork 0dde5c895075df6e3630e76f750a447cf63f4789
github.com/moby/libnetwork dcdf8f176d1e13ad719e913e796fb698d846de98
github.com/docker/go-events e31b211e4f1cd09aa76fe4ac244571fab96ae47f
github.com/armon/go-radix e39d623f12e8e41c7b5529e9a9dd67a1e2261f80
github.com/armon/go-metrics f0300d1749da6fa982027e449ec0c7a145510c3c # v0.4.1
Expand Down

0 comments on commit c42838d

Please sign in to comment.