fix ping@openssh being passed to unsupported sshd (#326)

* add testcase

* Fix formatting in e2e/fixed_test.go

* disable ping until we have a solution
This commit is contained in:
Boshi Lian 2024-02-14 22:24:21 -08:00 • committed by GitHub
parent 715bcbdb49
commit fb8eba9f91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 14 additions and 5 deletions

View file

@ -1,4 +1,4 @@
FROM docker.io/golang:1.22-bullseye as builder
FROM docker.io/golang:1.22.0-alpine3.19 as builder
ARG VER=devel
ARG BUILDTAGS=""
@ -12,6 +12,9 @@ RUN --mount=target=/src,type=bind,source=. --mount=type=cache,target=/root/.cach
RUN --mount=target=/src,type=bind,source=. --mount=type=cache,target=/root/.cache/go-build if [ "$EXTERNAL" = "1" ]; then cp -r plugins /sshpiperd ; else go build -o /sshpiperd/plugins -tags "$BUILDTAGS" ./plugin/...; fi
ADD entrypoint.sh /sshpiperd
FROM builder as testrunner
RUN apk add openssh-client git bash coreutils
FROM docker.io/busybox
LABEL maintainer="Boshi Lian<farmer1992@gmail.com>"