forked from jhazelwo/docker-keybase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
20 lines (20 loc) · 801 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM ubuntu:16.04
MAINTAINER "John Hazelwood" <[email protected]>
RUN apt-get clean && \
apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install curl fuse libappindicator1 && \
curl -O https://prerelease.keybase.io/keybase_amd64.deb && \
dpkg -i keybase_amd64.deb && \
apt-get install -f && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /var/cache/*
RUN install -d -m 0700 -o 1000 -g 1000 /home/human && \
groupadd --gid 1000 human && \
useradd --uid 1000 --gid 1000 --home-dir /home/human -M --shell /bin/bash human
WORKDIR /home/human
USER human
COPY spool/ /tmp/
RUN install -m 0600 -o 1000 -g 1000 /tmp/.profile /home/human/
RUN install -m 0700 -o 1000 -g 1000 /tmp/keybase.complete /home/human/
ENTRYPOINT ["/bin/bash", "--login"]