Skip to content

Instantly share code, notes, and snippets.

@endophage
Created May 29, 2016 22:59
Show Gist options
  • Save endophage/a514c2631ccc5f6ebb575232e7063622 to your computer and use it in GitHub Desktop.
Save endophage/a514c2631ccc5f6ebb575232e7063622 to your computer and use it in GitHub Desktop.
# 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