Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-and-push-dev-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
inputs:
ol:
description: List of ol versions to build
default: 'oraclelinux7, oraclelinux8, oraclelinux9'
default: 'oraclelinux7, oraclelinux8, oraclelinux9, oraclelinux10'
required: false
lang:
description: List of languages to build
Expand All @@ -33,7 +33,7 @@ on:

# Default values for the builds triggered by the push event
env:
ol: 'oraclelinux7, oraclelinux8, oraclelinux9'
ol: 'oraclelinux7, oraclelinux8, oraclelinux9, oraclelinux10'
lang: 'gcc-toolset, golang, nodejs, nginx, php, python, redis, ruby, haproxy, kubectl, helm, ocne-tools, httpd'

jobs:
Expand Down
9 changes: 9 additions & 0 deletions OracleLinuxDevelopers/oraclelinux10/golang/1.24/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2025 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

FROM ghcr.io/oracle/oraclelinux:10

RUN dnf -y install go-toolset-1.24.6 && \
rm -rf /var/cache/dnf

CMD ["/bin/go", "version"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2025 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

FROM ghcr.io/oracle/oraclelinux:10

RUN dnf -y install go-toolset && \
rm -rf /var/cache/dnf

CMD ["/bin/go", "version"]
14 changes: 14 additions & 0 deletions OracleLinuxDevelopers/oraclelinux10/haproxy/3.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (c) 2025 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

FROM ghcr.io/oracle/oraclelinux:10

RUN \
dnf -y install haproxy && \
rm -rf /var/cache/dnf

EXPOSE 5000

CMD ["/usr/sbin/haproxy", "-p", "/run/haproxy.pid", "-f", "/etc/haproxy/haproxy.cfg", "-W", "-db"]


21 changes: 21 additions & 0 deletions OracleLinuxDevelopers/oraclelinux10/httpd/2.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright (c) 2025 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

FROM ghcr.io/oracle/oraclelinux:10

RUN dnf install -y httpd mod_ssl && \
rm -rf /var/cache/dnf

RUN sed -i \
-e 's/^SSLCertificateFile .*/SSLCertificateFile \/certs\/fullchain.pem/g' \
-e 's/^SSLCertificateKeyFile .*/SSLCertificateKeyFile \/certs\/privkey.pem/g' \
/etc/httpd/conf.d/ssl.conf

RUN mkdir -p /certs

ENV CERTIFICATE_DIR /certs
ENV KEY_DIR /certs

COPY ./entrypoint.sh /opt/entrypoint.sh

CMD ["/opt/entrypoint.sh"]
18 changes: 18 additions & 0 deletions OracleLinuxDevelopers/oraclelinux10/nginx/1.26-core/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright (c) 2025 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

FROM ghcr.io/oracle/oraclelinux:10

RUN dnf -y install nginx-core && \
rm -rf /var/cache/dnf \
&& \
# forward request and error logs to container engine log collector
ln -sf /dev/stdout /var/log/nginx/access.log && \
ln -sf /dev/stderr /var/log/nginx/error.log

EXPOSE 80/tcp
EXPOSE 443/tcp

STOPSIGNAL SIGQUIT

CMD ["nginx", "-g", "daemon off;"]
18 changes: 18 additions & 0 deletions OracleLinuxDevelopers/oraclelinux10/nginx/1.26-full/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright (c) 2025 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

FROM ghcr.io/oracle/oraclelinux:10

RUN dnf -y install nginx-all-modules && \
rm -rf /var/cache/dnf \
&& \
# forward request and error logs to container engine log collector
ln -sf /dev/stdout /var/log/nginx/access.log && \
ln -sf /dev/stderr /var/log/nginx/error.log

EXPOSE 80/tcp
EXPOSE 443/tcp

STOPSIGNAL SIGQUIT

CMD ["nginx", "-g", "daemon off;"]
18 changes: 18 additions & 0 deletions OracleLinuxDevelopers/oraclelinux10/nginx/1.26/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright (c) 2025 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

FROM ghcr.io/oracle/oraclelinux:10

RUN dnf -y install nginx && \
rm -rf /var/cache/dnf \
&& \
# forward request and error logs to container engine log collector
ln -sf /dev/stdout /var/log/nginx/access.log && \
ln -sf /dev/stderr /var/log/nginx/error.log

EXPOSE 80/tcp
EXPOSE 443/tcp

STOPSIGNAL SIGQUIT

CMD ["nginx", "-g", "daemon off;"]
9 changes: 9 additions & 0 deletions OracleLinuxDevelopers/oraclelinux10/nodejs/22/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2025 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

FROM ghcr.io/oracle/oraclelinux:10

RUN dnf -y install nodejs nodejs-nodemon npm && \
rm -rf /var/cache/dnf

CMD ["/bin/node", "-v"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright (c) 2025 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

FROM ghcr.io/oracle/oraclelinux10-python:3.12

RUN dnf -y install oraclelinux-developer-release-el10 && \
dnf -y install python3.12-oracledb && \
# Optionally install Oracle Instant Client to use python-oracledb Thick mode
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete the references to Instant Client - it hasn't been released for OL10.

# dnf -y install oracle-instantclient-release-23ai-el10 && \
# dnf -y install oracle-instantclient-basic && \
rm -rf /var/cache/dnf

CMD ["/bin/python3", "--version"]
9 changes: 9 additions & 0 deletions OracleLinuxDevelopers/oraclelinux10/python/3.12/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2025 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

FROM ghcr.io/oracle/oraclelinux:10

RUN dnf -y install python3 python3-libs python3-pip python3-setuptools && \
rm -rf /var/cache/dnf

CMD ["/usr/bin/python3.12", "-V"]
11 changes: 11 additions & 0 deletions OracleLinuxDevelopers/oraclelinux10/ruby/3.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright (c) 2025 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

FROM ghcr.io/oracle/oraclelinux:10

RUN dnf -y install ruby ruby-libs ruby-devel ruby-irb \
rubygems rubygem-rake rubygem-bundler \
gcc make && \
rm -rf /var/cache/dnf

CMD ["irb"]
18 changes: 18 additions & 0 deletions OracleLinuxDevelopers/oraclelinux10/valkey/7/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright (c) 2025 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

FROM ghcr.io/oracle/oraclelinux:10

RUN dnf install -y valkey && \
rm -rf /var/cache/dnf

RUN sed -i.bak \
-e 's/protected-mode yes/protected-mode no/g' \
-e 's/^bind/# bind/g' \
-e 's/^unixsocket/# unixsocket/g' \
-e 's/^logfile .*/logfile \"\"/g' \
/etc/valkey/valkey.conf

EXPOSE 6379

CMD ["valkey-server", "/etc/valkey/valkey.conf"]