Skip to content

Commit

Permalink
Add OCNE tools 1.9, kubectl 1.29
Browse files Browse the repository at this point in the history
  • Loading branch information
jakegt1 authored and Djelibeybi committed Oct 10, 2024
1 parent df7825a commit f8bd204
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 1 deletion.
14 changes: 14 additions & 0 deletions OracleLinuxDevelopers/oraclelinux8/kubectl/1.29/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (c) 2024 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
# OCNE 1.9 - Kubectl 1.29

FROM ghcr.io/oracle/oraclelinux:8

RUN dnf install -y oracle-olcne-release-el8 && \
dnf config-manager --enable ol8_olcne19 ol8_addons ol8_baseos_latest ol8_appstream && \
dnf install -y kubectl && \
rm -rf /var/cache/dnf

ENTRYPOINT ["kubectl"]

CMD ["--help"]
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Copyright (c) 2024 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
# OCNE 1.8 - Helm 3.12

# hadolint ignore=DL3007
FROM ghcr.io/oracle/oci-cli:latest
Expand Down
20 changes: 20 additions & 0 deletions OracleLinuxDevelopers/oraclelinux8/ocne-tools/1.9/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright (c) 2024 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

# hadolint ignore=DL3007
FROM ghcr.io/oracle/oci-cli:latest

USER root

RUN dnf install -y oracle-olcne-release-el8 && \
dnf config-manager --enable ol8_olcne19 ol8_addons ol8_baseos_latest ol8_appstream && \
dnf install -y helm kubectl && \
rm -rf /var/cache/dnf

COPY help.sh /opt/help.sh

USER oracle

ENTRYPOINT []

CMD ["/bin/bash", "/opt/help.sh"]
11 changes: 11 additions & 0 deletions OracleLinuxDevelopers/oraclelinux8/ocne-tools/1.9/help.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
# Copyright (c) 2024 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

echo "OCNE/OKE Tools"

echo "oci-cli version: $(oci --version)"
helm version --template='helm version: {{.Version}}'
echo ''
echo "kubectl versions: "
kubectl version --client
14 changes: 14 additions & 0 deletions OracleLinuxDevelopers/oraclelinux9/kubectl/1.29/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (c) 2024 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
# OCNE 1.9 - Kubectl 1.29

FROM ghcr.io/oracle/oraclelinux:9

RUN dnf install -y oracle-olcne-release-el9 && \
dnf config-manager --enable ol9_olcne19 ol9_addons ol9_baseos_latest ol9_appstream && \
dnf install -y kubectl && \
rm -rf /var/cache/dnf

ENTRYPOINT ["kubectl"]

CMD ["--help"]

0 comments on commit f8bd204

Please sign in to comment.