summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 9b6bf62aeea00f14709998d747d7b1e84ff0b60e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM fedora:29 as builder

RUN dnf install -y cmake gcc-c++ make libxml2-devel physfs-devel sqlite-devel \
    lua-devel libsigc++20-devel

ADD . /source
WORKDIR /source

RUN cmake . -DCMAKE_INSTALL_PREFIX=/app
RUN make install

FROM fedora:29
RUN dnf update -y
RUN dnf install -y libxml2 physfs sqlite lua libsigc++20
COPY --from=builder /app/ /app/