Skip to content

Commit

Permalink
update to build with rockspec, add maxminddb
Browse files Browse the repository at this point in the history
  • Loading branch information
leafo committed Feb 9, 2021
1 parent 5e9fee6 commit 463daa7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 32 deletions.
6 changes: 3 additions & 3 deletions lapis-archlinux-itchio/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM archlinux/base:latest
MAINTAINER leaf corcoran <[email protected]>

RUN pacman -Sy base-devel lua51 postgresql postgresql-libs luarocks redis geoip tup git npm sassc pygmentize --noconfirm && \
RUN pacman -Syu base-devel lua51 postgresql postgresql-libs luarocks redis geoip libmaxminddb tup git npm sassc pygmentize --noconfirm && \
(yes | pacman -Scc || :) && \
npm install -g [email protected] && \
npm install -g uglify-js && \
Expand All @@ -19,5 +19,5 @@ RUN curl -O https://openresty.org/download/openresty-1.19.3.1.tar.gz && \
RUN su postgres -c "initdb --locale en_US.UTF-8 -E UTF8 -D '/var/lib/postgres/data'" && mkdir /run/postgresql && chown postgres:postgres /run/postgresql

# install lua dependencies
COPY deps /deps
RUN cat /deps | sed 's/#.*//g' | while read dep; do luarocks --lua-version=5.1 install --local "$dep"; done
COPY itchio-dev-1.rockspec /
RUN luarocks --lua-version=5.1 build --only-deps --server=https://luarocks.org/dev /itchio-dev-1.rockspec
29 changes: 0 additions & 29 deletions lapis-archlinux-itchio/deps

This file was deleted.

0 comments on commit 463daa7

Please sign in to comment.