-
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.
ci: Add Fedora 34 to the CI build matrix
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
FROM fedora:34 | ||
LABEL maintainer="Illya Kysil <[email protected]>" | ||
|
||
ENV LANG=C.UTF-8 \ | ||
LANGUAGE=en_US:en \ | ||
LC_ALL=C.UTF-8 | ||
|
||
RUN dnf -y install \ | ||
git \ | ||
wget \ | ||
gcc-c++ \ | ||
glibc-devel.i686 libgcc.i686 libstdc++.i686 readline.i686 \ | ||
glibc-devel libgcc libstdc++ readline \ | ||
python3 python3-pip \ | ||
mingw32-gcc mingw32-gcc-c++ \ | ||
wine.i686 \ | ||
&& \ | ||
dnf clean all | ||
|
||
ADD docker /opt/docker | ||
|
||
RUN ln -s /usr/bin/i686-w64-mingw32-g++ /usr/local/bin/mingw32-g++ \ | ||
&& \ | ||
ln -s /usr/bin/i686-w64-mingw32-gcc /usr/local/bin/mingw32-gcc | ||
|
||
RUN /opt/docker/install-scons.sh | ||
|
||
RUN /opt/docker/install-fasm.sh | ||
|
||
ARG RUNUSER=ikforth | ||
|
||
ARG RUNUID=1001 | ||
|
||
RUN useradd ${RUNUSER} --uid ${RUNUID} --user-group | ||
|
||
USER ${RUNUSER} | ||
|
||
RUN winecfg | ||
|
||
VOLUME ["/opt/ikforth"] | ||
|
||
WORKDIR /opt/ikforth | ||
|
||
ENTRYPOINT ["/bin/bash"] |