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-07-09 22:15:13 +0200
commit4ade016f8dcb2e7da9ceda27e9db8f424679421d (patch)
treeb500dc11d5d8cfb680ba1b72856a1a9d42ce887a /xS
parent71e1a744c5521e54da333c78802cf5c57f4598db (diff)
downloadxK-4ade016f8dcb2e7da9ceda27e9db8f424679421d.tar.gz
xK-4ade016f8dcb2e7da9ceda27e9db8f424679421d.tar.xz
xK-4ade016f8dcb2e7da9ceda27e9db8f424679421d.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"]