Skip to content

Commit fa0a16e

Browse files
committed
Add OL10 developer images
1 parent 7bda094 commit fa0a16e

File tree

13 files changed

+169
-2
lines changed

13 files changed

+169
-2
lines changed

.github/workflows/build-and-push-dev-images.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
inputs:
2525
ol:
2626
description: List of ol versions to build
27-
default: 'oraclelinux7, oraclelinux8, oraclelinux9'
27+
default: 'oraclelinux7, oraclelinux8, oraclelinux9, oraclelinux10'
2828
required: false
2929
lang:
3030
description: List of languages to build
@@ -33,7 +33,7 @@ on:
3333

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

3939
jobs:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2025 Oracle and/or its affiliates.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+
FROM ghcr.io/oracle/oraclelinux:10
5+
6+
RUN dnf -y install go-toolset-1.24.6 && \
7+
rm -rf /var/cache/dnf
8+
9+
CMD ["/bin/go", "version"]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2025 Oracle and/or its affiliates.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+
FROM ghcr.io/oracle/oraclelinux:10
5+
6+
RUN dnf -y install go-toolset && \
7+
rm -rf /var/cache/dnf
8+
9+
CMD ["/bin/go", "version"]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Copyright (c) 2025 Oracle and/or its affiliates.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+
FROM ghcr.io/oracle/oraclelinux:10
5+
6+
RUN \
7+
dnf -y install haproxy && \
8+
rm -rf /var/cache/dnf
9+
10+
EXPOSE 5000
11+
12+
CMD ["/usr/sbin/haproxy", "-p", "/run/haproxy.pid", "-f", "/etc/haproxy/haproxy.cfg", "-W", "-db"]
13+
14+
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright (c) 2025 Oracle and/or its affiliates.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+
FROM ghcr.io/oracle/oraclelinux:10
5+
6+
RUN dnf install -y httpd mod_ssl && \
7+
rm -rf /var/cache/dnf
8+
9+
RUN sed -i \
10+
-e 's/^SSLCertificateFile .*/SSLCertificateFile \/certs\/fullchain.pem/g' \
11+
-e 's/^SSLCertificateKeyFile .*/SSLCertificateKeyFile \/certs\/privkey.pem/g' \
12+
/etc/httpd/conf.d/ssl.conf
13+
14+
RUN mkdir -p /certs
15+
16+
ENV CERTIFICATE_DIR /certs
17+
ENV KEY_DIR /certs
18+
19+
COPY ./entrypoint.sh /opt/entrypoint.sh
20+
21+
CMD ["/opt/entrypoint.sh"]
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright (c) 2025 Oracle and/or its affiliates.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+
FROM ghcr.io/oracle/oraclelinux:10
5+
6+
RUN dnf -y install nginx-core && \
7+
rm -rf /var/cache/dnf \
8+
&& \
9+
# forward request and error logs to container engine log collector
10+
ln -sf /dev/stdout /var/log/nginx/access.log && \
11+
ln -sf /dev/stderr /var/log/nginx/error.log
12+
13+
EXPOSE 80/tcp
14+
EXPOSE 443/tcp
15+
16+
STOPSIGNAL SIGQUIT
17+
18+
CMD ["nginx", "-g", "daemon off;"]
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright (c) 2025 Oracle and/or its affiliates.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+
FROM ghcr.io/oracle/oraclelinux:10
5+
6+
RUN dnf -y install nginx-all-modules && \
7+
rm -rf /var/cache/dnf \
8+
&& \
9+
# forward request and error logs to container engine log collector
10+
ln -sf /dev/stdout /var/log/nginx/access.log && \
11+
ln -sf /dev/stderr /var/log/nginx/error.log
12+
13+
EXPOSE 80/tcp
14+
EXPOSE 443/tcp
15+
16+
STOPSIGNAL SIGQUIT
17+
18+
CMD ["nginx", "-g", "daemon off;"]
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright (c) 2025 Oracle and/or its affiliates.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+
FROM ghcr.io/oracle/oraclelinux:10
5+
6+
RUN dnf -y install nginx && \
7+
rm -rf /var/cache/dnf \
8+
&& \
9+
# forward request and error logs to container engine log collector
10+
ln -sf /dev/stdout /var/log/nginx/access.log && \
11+
ln -sf /dev/stderr /var/log/nginx/error.log
12+
13+
EXPOSE 80/tcp
14+
EXPOSE 443/tcp
15+
16+
STOPSIGNAL SIGQUIT
17+
18+
CMD ["nginx", "-g", "daemon off;"]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2025 Oracle and/or its affiliates.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+
FROM ghcr.io/oracle/oraclelinux:10
5+
6+
RUN dnf -y install nodejs nodejs-nodemon npm && \
7+
rm -rf /var/cache/dnf
8+
9+
CMD ["/bin/node", "-v"]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright (c) 2025 Oracle and/or its affiliates.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+
FROM ghcr.io/oracle/oraclelinux10-python:3.12
5+
6+
RUN dnf -y install oraclelinux-developer-release-el10 && \
7+
dnf -y install python3.12-oracledb && \
8+
# Optionally install Oracle Instant Client to use python-oracledb Thick mode
9+
# dnf -y install oracle-instantclient-release-23ai-el10 && \
10+
# dnf -y install oracle-instantclient-basic && \
11+
rm -rf /var/cache/dnf
12+
13+
CMD ["/bin/python3", "--version"]

0 commit comments

Comments
 (0)