File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ ARG BASE
16
16
FROM ${BASE}
17
17
ARG ARCH
18
18
ADD bin/pause-windows-${ARCH}.exe /pause.exe
19
- ADD windows /wincat.exe /Windows/System32/wincat.exe
19
+ ADD bin /wincat-windows-amd64 /Windows/System32/wincat.exe
20
20
21
21
# NOTE(claudiub): docker buildx sets the PATH env variable to a Linux-like PATH,
22
22
# which is not desirable. See: https://github.com/moby/buildkit/issues/1560
Original file line number Diff line number Diff line change @@ -121,8 +121,8 @@ bin/${BIN.linux}-$(OS)-$(ARCH): $(SRCS)
121
121
$(TRIPLE ) -gcc $(CFLAGS ) -o $@ $^ && \
122
122
$(TRIPLE ) -strip $(foreach binary, $@ , ${binary}${EXTENSION}) "
123
123
124
- bin/wincat-windows-${ARCH} :
125
- CGO_ENABLED=0 GOOS=windows GOARCH=${ARCH} go build -o windows/wincat.exe windows/wincat/wincat.go
124
+ bin/wincat-windows-${ARCH} : windows/wincat/wincat.go
125
+ CGO_ENABLED=0 GOOS=windows GOARCH=${ARCH} go build -o $@ $^
126
126
127
127
container : .container-${OS}-$(ARCH )
128
128
.container-linux-$(ARCH ) : bin/$(BIN ) -$(OS ) -$(ARCH )
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ See the License for the specific language governing permissions and
14
14
limitations under the License.
15
15
*/
16
16
17
- // package wincat connects to the given host and port and redirects its stdin to the connection and
17
+ // package main connects to the given host and port and redirects its stdin to the connection and
18
18
// the connection's output to stdout. This is currently being used for port-forwarding for Windows Pods.
19
- package wincat
19
+ package main
20
20
21
21
import (
22
22
"fmt"
You can’t perform that action at this time.
0 commit comments