mirror of
https://github.com/darksaid98/TiltedEvolution-Docker.git
synced 2026-12-01 14:38:56 +00:00
41 lines
644 B
Docker
41 lines
644 B
Docker
FROM alpine:3.16
|
|
|
|
WORKDIR /home/builder
|
|
|
|
RUN apk add --no-cache \
|
|
cmake \
|
|
unzip \
|
|
git \
|
|
gcc \
|
|
g++ \
|
|
alpine-sdk \
|
|
build-base \
|
|
ca-certificates \
|
|
curl \
|
|
linux-headers \
|
|
bash \
|
|
p7zip \
|
|
perl \
|
|
xz \
|
|
bsd-compat-headers \
|
|
# packages used in the build process - cuts down on build prep time
|
|
snappy-dev \
|
|
openssl-dev \
|
|
spdlog-dev \
|
|
m4 \
|
|
autoconf \
|
|
automake \
|
|
glm glm-dev \
|
|
libtool \
|
|
gtest gtest-dev \
|
|
zlib-dev \
|
|
libuv-dev \
|
|
curl-dev
|
|
|
|
|
|
RUN git clone --recursive https://github.com/xmake-io/xmake.git ./xmake && \
|
|
cd xmake && \
|
|
make build && \
|
|
make install && \
|
|
rm -rf /home/builder/xmake
|