diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-12-16 08:34:17 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-12-19 03:15:34 +0100 |
commit | 8c9b845ab80b2c87381cd68ca7c0af6382d57eb2 (patch) | |
tree | eb1ce3417c67815488e3bc33c3cf457f51c3a8e0 | |
parent | a8575ab8757c3c22c534bcebd2558c712bc6df90 (diff) | |
download | xK-8c9b845ab80b2c87381cd68ca7c0af6382d57eb2.tar.gz xK-8c9b845ab80b2c87381cd68ca7c0af6382d57eb2.tar.xz xK-8c9b845ab80b2c87381cd68ca7c0af6382d57eb2.zip |
WIP: xS: add a Dockerfile for testing purposes
-rw-r--r-- | xS/Dockerfile | 10 |
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"] |