Initial release (draft)

This commit is contained in:
Uggla
2015-05-08 16:01:01 +02:00
parent 80b24d2d40
commit 3a01e2531e
+20
View File
@@ -0,0 +1,20 @@
FROM ubuntu:vivid
MAINTAINER uggla@free.fr
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get install -y apt-utils && \
apt-get install -y golang && \
apt-get install -y golang && \
apt-get install -y wget && \
apt-get install -y vim && \
apt-get install -y apt-utils && \
apt-get install -y libgl1-mesa-glx
RUN useradd -k /etc/skel -m pa
COPY auth_papatcher.sh /home/pa/auth_papatcher.sh
RUN chown pa:pa /home/pa/auth_papatcher.sh
USER pa
WORKDIR /home/pa
RUN wget https://bitbucket.org/papatcher/papatcher/raw/a7b8b4febb491d6fc6c45155b238fd42ee34fcc8/papatcher.go
RUN chmod +x /home/pa/auth_papatcher.sh && \
chmod +x /home/pa/papatcher.go && \
/home/pa/auth_papatcher.sh