1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-11-23 21:10:57 +01:00

Add Dockerfile for building in docker

Make build environment (kinda) independent of the current machine
This commit is contained in:
icex2 2021-04-10 15:01:12 +02:00
parent b01bbf1658
commit 4ea9e6ffb6
2 changed files with 50 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
build/

49
Dockerfile Normal file
View File

@ -0,0 +1,49 @@
FROM fedora:31
LABEL description="Build environment for segatools"
RUN yum -y install meson
RUN yum -y install ninja-build
RUN yum -y install make
RUN yum -y install zip
RUN yum -y install clang
RUN yum -y install mingw64-gcc.x86_64
RUN yum -y install mingw32-gcc.x86_64
RUN yum -y install git
RUN mkdir /segatools
WORKDIR /segatools
COPY aimeio aimeio
COPY amex amex
COPY board board
COPY chunihook chunihook
COPY chuniio chuniio
COPY dist dist
COPY divahook divahook
COPY divaio divaio
COPY doc doc
COPY hooklib hooklib
COPY iccard iccard
COPY idzhook idzhook
COPY idzio idzio
COPY jvs jvs
COPY minihook minihook
COPY mu3hook mu3hook
COPY mu3io mu3io
COPY pki pki
COPY platform platform
COPY reg reg
COPY spike spike
COPY subprojects subprojects
COPY util util
COPY CHANGELOG.md CHANGELOG.md
COPY cross-mingw-32.txt cross-mingw-32.txt
COPY cross-mingw-64.txt cross-mingw-64.txt
COPY Makefile Makefile
COPY meson.build meson.build
COPY Package.mk Package.mk
COPY precompiled.h precompiled.h
COPY README.md README.md
RUN make dist