mirror of
https://github.com/skeeto/endlessh.git
synced 2024-11-07 15:13:59 +01:00
16 lines
202 B
Docker
16 lines
202 B
Docker
FROM alpine:3.9 as builder
|
|
RUN apk add --no-cache build-base
|
|
ADD endlessh.c Makefile /
|
|
RUN make
|
|
|
|
|
|
FROM alpine:3.9
|
|
|
|
COPY --from=builder /endlessh /
|
|
|
|
EXPOSE 2222/tcp
|
|
|
|
ENTRYPOINT ["/endlessh"]
|
|
|
|
CMD ["-v"]
|