aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-12-16 08:34:17 +0100
committerPřemysl Eric Janouch <p@janouch.name>2025-12-26 21:07:36 +0100
commit258163a1e352bdf83c001f86c1570ee0dcab8819 (patch)
tree90b803e5969915475682825e8167719e073bf92a
parent2728f9d1eb07d1d7e99866e749e4248197f0ec69 (diff)
downloadxK-258163a1e352bdf83c001f86c1570ee0dcab8819.tar.gz
xK-258163a1e352bdf83c001f86c1570ee0dcab8819.tar.xz
xK-258163a1e352bdf83c001f86c1570ee0dcab8819.zip
WIP: xS: add a Dockerfile for testing purposes
-rw-r--r--xS/Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/xS/Dockerfile b/xS/Dockerfile
new file mode 100644
index 0000000..cb9ceb3
--- /dev/null
+++ b/xS/Dockerfile
@@ -0,0 +1,10 @@
+# TODO(p): Make it possible to store configuration.
+# docker/podman build --tag xs-irc --file xS/Dockerfile ..
+FROM alpine:latest
+LABEL org.opencontainers.image.url="https://git.janouch.name/p/xK"
+RUN apk add --no-cache build-base make go
+WORKDIR /xK/xS
+COPY .. /xK
+RUN make
+EXPOSE 6667
+ENTRYPOINT ["./xS"]