mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-09 23:16:58 +00:00
proxy: simply the Dockerfile by shuffling code under vendor/
Note there is a slight name clash between the final binary 'proxy' and the library formerly known as 'proxy'. Resolve this by calling the library 'libproxy'. Signed-off-by: David Scott <dave.scott@docker.com>
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"net"
|
||||
"os"
|
||||
"pkg/proxy"
|
||||
"libproxy"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@@ -17,7 +17,7 @@ func main() {
|
||||
if err != nil {
|
||||
sendError(err)
|
||||
}
|
||||
p, err := proxy.NewProxy(host, container)
|
||||
p, err := libproxy.NewProxy(host, container)
|
||||
if err != nil {
|
||||
unexposePort(host)
|
||||
sendError(err)
|
||||
|
||||
Reference in New Issue
Block a user