-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added el10b based on AlmaLinux 10 Kitten
- Loading branch information
1 parent
7306549
commit 6d9da0f
Showing
2 changed files
with
23 additions
and
2 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,21 @@ | ||
FROM almalinux:109-kitten AS unibuild-image | ||
|
||
#Install pre-requisites | ||
#Install utils like tree useful for debugging | ||
#Enable powertools since contains common dependencies | ||
RUN microdnf install -y dnf \ | ||
&& dnf update -y \ | ||
&& dnf install -y rpm rpm-build rpmdevtools m4 make sudo dnf-plugins-core epel-release tree \ | ||
&& dnf config-manager --enable crb | ||
|
||
#Copy unibuild source | ||
COPY . /usr/share/unibuild/ | ||
|
||
#Install unibuild | ||
WORKDIR /usr/share/unibuild | ||
RUN make RELEASE=1 | ||
RUN /usr/share/unibuild/libexec/prep/prep | ||
|
||
#Shared volume for code to build | ||
VOLUME /app | ||
WORKDIR /app |