Skip to content

Instantly share code, notes, and snippets.

@abesto
Last active September 5, 2019 18:06
Show Gist options
  • Save abesto/d249d7add8ef2b10b8e71b08b9690876 to your computer and use it in GitHub Desktop.
Save abesto/d249d7add8ef2b10b8e71b08b9690876 to your computer and use it in GitHub Desktop.
FROM golang
RUN go get -u github.com/gobuffalo/packr/packr
RUN apt-get update && apt-get install -y \
build-essential \
libzzip-dev \
lua5.3 \
lua5.3-dev \
luarocks
RUN luarocks install luafilesystem \
&& luarocks install luazip
COPY . /code
WORKDIR /code
RUN cd factoriocalc \
&& packr build
RUN cd factorio-web-calc \
&& git reset --hard
RUN git submodule update --remote factorio-web-calc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment