]> git.ipfire.org Git - people/jschlag/pbs-docker.git/blobdiff - src/pbs-hub/Dockerfile
Refactoring the structure of our images
[people/jschlag/pbs-docker.git] / src / pbs-hub / Dockerfile
index 41154597177b7f1658d47128a28600fffe5d6610..d301978d06a760b177e8b0db275a1f09a61450b6 100644 (file)
@@ -1,14 +1,11 @@
-FROM centos:latest
+FROM jonatanschlag/ipfire-pbs-base:latest
 MAINTAINER jonatanschlag
 
-ENV DEBIAN_FRONTEND noninteractive
+#ADD setup.sh /tmp/setup.sh
+#RUN chmod +x /tmp/setup.sh && /tmp/setup.sh
 
-ADD setup.sh /tmp/setup.sh
-RUN chmod +x /tmp/setup.sh && /tmp/setup.sh
-
-USER psb 
+USER pbs
 
 # Define default command.
-CMD [""]
+CMD ["/opt/pbs/pakfire-hub"]