Skip to content

Instantly share code, notes, and snippets.

@hoelzro
Last active May 18, 2019 17:52
Show Gist options
  • Save hoelzro/dca8f0a9352501560ef4dd29410f54b8 to your computer and use it in GitHub Desktop.
Save hoelzro/dca8f0a9352501560ef4dd29410f54b8 to your computer and use it in GitHub Desktop.
Docker file for Sputnik wiki
FROM ubuntu
RUN apt-get update && apt-get install -y lua5.1 unzip build-essential luarocks
ADD sputnik-galaxy-12-07-12-all-in-one.zip /
WORKDIR /tmp
RUN unzip /sputnik-galaxy-12-07-12-all-in-one.zip
WORKDIR /tmp/sputnik-galaxy-12-07-12-all-in-one
RUN ./install.sh --lua-suffix=5.1 --without-readline
RUN mkdir -p /var/lib/sputnik/wiki-data
WORKDIR /var/lib/sputnik
RUN sputnik make-cgi
EXPOSE 8080/tcp
ENTRYPOINT ["sputnik", "start-xavante"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment