Created
May 29, 2016 22:59
-
-
Save endophage/a514c2631ccc5f6ebb575232e7063622 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # docker run -it --rm -v keybase:/home/keybase keybase:latest | |
| FROM ubuntu:16.04 | |
| ENV HOME /home/keybase | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ | |
| && curl -O https://dist.keybase.io/linux/deb/keybase-latest-amd64.deb \ | |
| && dpkg -i keybase-latest-amd64.deb \ | |
| && adduser --disabled-login --home $HOME --gecos "" keybase \ | |
| && chown -R keybase:keybase $HOME | |
| WORKDIR $HOME | |
| USER keybase | |
| ENTRYPOINT [ "keybase" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment