aboutsummaryrefslogtreecommitdiff
path: root/xS
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-01-08 06:40:53 +0100
commita424788fd90338b6da5d4dfd3c18cf3eab13acc8 (patch)
treef6bb3768666f2886db057a0cbecef81e0450a8df /xS
parent858734384bed5469e59d3aa4f87a0036e9aa3a3f (diff)
downloadxK-a424788fd90338b6da5d4dfd3c18cf3eab13acc8.tar.gz
xK-a424788fd90338b6da5d4dfd3c18cf3eab13acc8.tar.xz
xK-a424788fd90338b6da5d4dfd3c18cf3eab13acc8.zip
WIP: xS: add a Dockerfile for testing purposes
Diffstat (limited to 'xS')
-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"]