diff options
author | Joerg Jaspert <joerg@debian.org> | 2014-11-26 12:54:55 +0100 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2014-11-26 12:54:55 +0100 |
commit | 10f4c72c8abd36b8e193f23ccf4e90214fcec561 (patch) | |
tree | 549cc809e57e0f491801c04734df36a36df49ef1 | |
parent | 9fc6b7b07ec385dc6f50ab5caecf4be8bf5df76a (diff) | |
parent | 79e48ec658b6a3cec3f5b1b5b37a011b62276f7e (diff) |
Merge remote-tracking branch 'paultag/paultag/featutre/Dockerfile' into merge
* paultag/paultag/featutre/Dockerfile:
Add a Dockerfile
-rw-r--r-- | Dockerfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..11740f2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,25 @@ +FROM debian:stable +MAINTAINER Paul Tagliamonte <paultag@debian.org> + +RUN apt-get update && apt-get install -y \ + adduser \ + git \ + rsync + +RUN adduser \ + --system \ + --home=/opt/ftp-master.debian.org/archvsync/ \ + --shell=/bin/bash \ + --no-create-home \ + --group \ + archvsync + +RUN mkdir -p /opt/ftp-master.debian.org/ +WORKDIR /opt/ftp-master.debian.org/ +RUN git clone https://ftp-master.debian.org/git/archvsync.git/ +RUN chown -R archvsync:archvsync ./archvsync +WORKDIR /opt/ftp-master.debian.org/archvsync/ + +ENV PATH /opt/ftp-master.debian.org/archvsync/bin:${PATH} + +CMD ["ftpsync"] |