2023-03-26 23:57:26 +02:00
|
|
|
FROM --platform=amd64 debian:11.6-slim@sha256:f7d141c1ec6af549958a7a2543365a7829c2cdc4476308ec2e182f8a7c59b519
|
2020-05-11 00:23:53 +02:00
|
|
|
|
|
|
|
LABEL description="Build environment for bemanitools"
|
|
|
|
|
2023-03-26 23:57:26 +02:00
|
|
|
# mingw-w64-gcc has 32-bit and 64-bit toolchains
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
|
mingw-w64 \
|
|
|
|
mingw-w64-common \
|
2020-05-11 00:23:53 +02:00
|
|
|
make \
|
|
|
|
zip \
|
2023-03-26 23:57:26 +02:00
|
|
|
git \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2020-05-11 00:23:53 +02:00
|
|
|
|
|
|
|
RUN mkdir /bemanitools
|
|
|
|
WORKDIR /bemanitools
|
|
|
|
|
2023-03-21 23:31:23 +01:00
|
|
|
ENTRYPOINT [ \
|
2023-03-26 23:57:26 +02:00
|
|
|
"/bin/sh", \
|
2023-03-21 23:31:23 +01:00
|
|
|
"-c" , \
|
|
|
|
"cd /bemanitools && \
|
|
|
|
make" ]
|