-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build separate containers for targeting arm and i386
- Loading branch information
1 parent
28cc46c
commit a462059
Showing
2 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,22 @@ | ||
# | ||
# Dockerfile for creating a Windows CE build environment (ARM and i386, using https://github.com/enlyze/cegcc-build) | ||
# Dockerfile for creating a Windows CE build environment using https://github.com/enlyze/cegcc-build | ||
# Copyright (c) 2024 Colin Finck, ENLYZE GmbH <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
FROM debian:12-slim | ||
MAINTAINER Colin Finck <[email protected]> | ||
LABEL Description="Debian with CeGCC 9.3.0 (ENLYZE version for ARM and i386) and Git" | ||
LABEL Description="Debian with CeGCC 9.3.0 (ENLYZE version for ${target_arch}) and Git" | ||
|
||
ARG target_arch | ||
|
||
ENV PATH=/opt/cegcc-${target_arch}:$PATH | ||
|
||
RUN apt update && \ | ||
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends bison build-essential ca-certificates flex git libgmp-dev libmpc-dev libmpfr-dev texinfo | ||
|
||
RUN git clone --depth 1 --recursive --shallow-submodules https://github.com/enlyze/cegcc-build && \ | ||
cd cegcc-build && \ | ||
./build_cf.sh /opt/cegcc-arm arm-mingw32ce && \ | ||
cd .. && \ | ||
rm -rf cegcc-build | ||
|
||
RUN git clone --depth 1 --recursive --shallow-submodules https://github.com/enlyze/cegcc-build && \ | ||
cd cegcc-build && \ | ||
./build_cf.sh /opt/cegcc-i386 i386-mingw32ce && \ | ||
./build_cf.sh /opt/cegcc-${target_arch} ${target_arch}-mingw32ce && \ | ||
cd .. && \ | ||
rm -rf cegcc-build |