Created
December 19, 2018 17:35
-
-
Save udomsak/28434b127ea0ad008f3f2750af61bb17 to your computer and use it in GitHub Desktop.
Dockerfile kyoto-tycoon ( kt-server ) by @narate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.7 | |
MAINTAINER Narate Ketram <[email protected]> | |
RUN apk update && apk add git build-base lua5.1-dev lzo-dev zlib-dev | |
RUN cd /tmp && \ | |
git clone https://github.com/narate/kyoto.git && \ | |
cd kyoto && \ | |
make && \ | |
make install && \ | |
make clean && \ | |
cd && \ | |
rm -rf /tmp/kyoto | |
RUN mkdir -p /data/db | |
CMD ["ktserver", "-plsv", "/usr/local/libexec/ktplugservmemc.so", "-plex", "port=11211#opts=f", "/data/db/casket.kch#opts=l#bnum=20000000#msiz=4g#dfunit=8" ] | |
EXPOSE 11211 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment