Skip to content

Commit

Permalink
add oracle 8
Browse files Browse the repository at this point in the history
  • Loading branch information
cs1867 committed Mar 18, 2024
1 parent fa19978 commit 64498e4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ 'el7', 'el8', 'el9', 'd10', 'd11', 'd12', 'u18', 'u20', 'u22' ]
os: [ 'el7', 'el8', 'ol8', 'el9', 'd10', 'd11', 'd12', 'u18', 'u20', 'u22' ]

runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
# https://github.com/docker/build-push-action
- name: Build and push Docker images
id: build-and-push
if: ${{ matrix.os == 'el7' || matrix.os == 'el8' || matrix.os == 'el9' }}
if: ${{ matrix.os == 'el7' || matrix.os == 'el8' || matrix.os == 'ol8'|| matrix.os == 'el9' }}
uses: docker/build-push-action@v3
with:
context: .
Expand Down
20 changes: 20 additions & 0 deletions docker-envs/Dockerfile-ol8
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM oraclelinux:8 AS unibuild-image

#Install pre-requisites
#Install utils like tree useful for debugging
#Enable powertools since contains common dependencies
RUN dnf update -y && \
dnf install -y rpm rpm-build rpmdevtools m4 make sudo dnf-plugins-core epel-release tree && \
dnf config-manager --set-enabled powertools

#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

0 comments on commit 64498e4

Please sign in to comment.