Added crawl build
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -2,9 +2,12 @@
|
||||
FROM ubuntu:20.04
|
||||
|
||||
# Variables
|
||||
ENV CRAWL_REPO=https://github.com/crawl/crawl.git \
|
||||
BUILD_DEPS="autoconf bison build-essential flex git" \
|
||||
APP_DEPS="bzip2 python3-minimal python3-pip ncurses-term locales-all sqlite3 libpcre3 liblua5.1-0 locales lsof libncursesw5-dev libsqlite3-dev sudo libbot-basicbot-perl"
|
||||
ENV CRAWL_REPO="https://github.com/crawl/crawl.git" \
|
||||
BUILD_DEPS="autoconf bison build-essential flex git liblua5.1-0-dev libncursesw5-dev \
|
||||
libsqlite3-dev libz-dev pkg-config binutils-gold libsdl2-image-dev libsdl2-mixer-dev \
|
||||
libsdl2-dev libfreetype6-dev libpng-dev ttf-dejavu-core advancecomp pngcrush" \
|
||||
APP_DEPS="bzip2 python3-minimal python3-pip python3-yaml ncurses-term locales-all sqlite3 libpcre3 locales lsof sudo libbot-basicbot-perl" \
|
||||
DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Logic
|
||||
RUN apt-get update && \
|
||||
@@ -17,6 +20,10 @@ RUN pip3 install tornado
|
||||
# Retrieve crawl
|
||||
RUN git clone ${CRAWL_REPO} /src/
|
||||
|
||||
# Build crawl
|
||||
RUN cd /src/crawl/crawl-ref/src && \
|
||||
make -j4 USE_DGAMELAUNCH=y TILES=y WEBTILES=y
|
||||
|
||||
# Clean up unnecessary packages
|
||||
RUN apt-get remove -y ${BUILD_DEPS} && \
|
||||
apt-get autoremove --purge -y && \
|
||||
|
||||
Reference in New Issue
Block a user