e2e test will not loop infinitely
This commit is contained in:
parent
96ddac09ba
commit
fc9cd704db
2 changed files with 10 additions and 9 deletions
|
|
@ -3,8 +3,6 @@ LABEL maintainer="Boshi Lian<farmer1992@gmail.com>"
|
|||
|
||||
RUN apt-get update && apt-get install -y libpam0g-dev libpam-google-authenticator
|
||||
|
||||
RUN ln -sf /usr/include/security/_pam_types.h /usr/include/security/pam_types.h
|
||||
|
||||
ADD . /go/src/github.com/tg123/sshpiper/
|
||||
RUN go install -ldflags "$(/go/src/github.com/tg123/sshpiper/sshpiperd/ldflags.sh)" -tags pam github.com/tg123/sshpiper/sshpiperd
|
||||
|
||||
|
|
@ -13,4 +11,4 @@ EXPOSE 2222
|
|||
ADD entrypoint.sh /
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
CMD ["/go/bin/sshpiperd"]
|
||||
CMD ["/go/bin/sshpiperd", "daemon"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue