endlessh/Dockerfile

16 lines
202 B
Docker
Raw Normal View History

2019-03-23 19:04:02 +01:00
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 /
2019-03-23 15:16:48 +01:00
EXPOSE 2222/tcp
2019-03-23 19:04:02 +01:00
ENTRYPOINT ["/endlessh"]
CMD ["-v"]