aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-02-17 15:23:10 -0500
committerJesús <heckyel@hyperbola.info>2022-02-17 15:23:10 -0500
commit4c979bdce5884b434cd0c82a162163c1e5fded02 (patch)
treeffb1ac0ceafe7bee079643f32db3cf3cf0ba0d40 /Dockerfile
downloadhyperbola-mirror-4c979bdce5884b434cd0c82a162163c1e5fded02.tar.lz
hyperbola-mirror-4c979bdce5884b434cd0c82a162163c1e5fded02.tar.xz
hyperbola-mirror-4c979bdce5884b434cd0c82a162163c1e5fded02.zip
initial commit
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..97a173a
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,17 @@
+FROM rusian/hyperbola:0.4
+LABEL MAINTAINER="heckyel@hyperbola.info"
+
+RUN pacman -Syu --noconfirm && pacman -S --noconfirm \
+ nginx rsync cronie util-linux findutils
+
+RUN pacman -Scc --noconfirm
+
+RUN mkdir /srv/repo
+
+COPY entrypoint.bash /
+RUN chmod u+x /entrypoint.bash
+
+VOLUME /srv/repo
+EXPOSE 80
+
+ENTRYPOINT ["/entrypoint.bash"]