-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to build with rockspec, add maxminddb
- Loading branch information
Showing
2 changed files
with
3 additions
and
32 deletions.
There are no files selected for viewing
This file contains 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
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 && \ | ||
|
@@ -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 |
This file was deleted.
Oops, something went wrong.