-
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 CentOS Stream 10 to build matrix
- Loading branch information
Showing
2 changed files
with
37 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,36 @@ | ||
FROM tgagor/centos:stream10 | ||
LABEL maintainer="Illya Kysil <ikysil@ikysil.name>" | ||
|
||
ENV LANG=C.UTF-8 \ | ||
LANGUAGE=en_US:en \ | ||
LC_ALL=C.UTF-8 | ||
|
||
RUN dnf -y --nobest install \ | ||
git \ | ||
wget \ | ||
gcc-c++ \ | ||
glibc-devel.i686 libgcc.i686 libstdc++.i686 readline.i686 \ | ||
glibc-devel libgcc libstdc++ readline \ | ||
python3 python3-pip \ | ||
&& \ | ||
dnf clean all | ||
|
||
ADD docker /opt/docker | ||
|
||
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} | ||
|
||
VOLUME ["/opt/ikforth"] | ||
|
||
WORKDIR /opt/ikforth | ||
|
||
ENTRYPOINT ["/bin/bash"] |