dockamole/mole/Dockerfile

17 lines
313 B
Docker
Raw Normal View History

2019-06-24 19:46:33 +00:00
FROM alpine
2019-06-24 21:44:08 +00:00
2019-06-24 19:46:33 +00:00
RUN apk add bash curl tar
RUN bash -c "bash <(curl -fsSL https://raw.githubusercontent.com/davrodpin/mole/master/tools/install.sh | sed 's/\bsudo\b//g')"
RUN mkdir /mole
RUN adduser -S -h /mole mole
USER mole
RUN mkdir -p /mole/.ssh
RUN touch /mole/.ssh/config
COPY ./start.sh ./
CMD ./start.sh