From 686c0102a8a0c6d0bb7200e23f85bb4b19b67807 Mon Sep 17 00:00:00 2001 From: icex2 Date: Sat, 10 Apr 2021 15:01:12 +0200 Subject: [PATCH] Add Dockerfile for building in docker Make build environment (kinda) independent of the current machine --- .dockerignore | 1 + Dockerfile | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..d163863 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +build/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ff2f85d --- /dev/null +++ b/Dockerfile @@ -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 \ No newline at end of file