Skip to content

Commit cce636d

Browse files
jakegt1Djelibeybi
authored andcommitted
Add OCNE 2 tool images.
1 parent 933d60f commit cce636d

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright (c) 2024 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+
# hadolint ignore=DL3007
5+
FROM ghcr.io/oracle/oci-cli:latest
6+
7+
USER root
8+
9+
RUN dnf install -y oracle-olcne-release-el8 && \
10+
dnf config-manager --enable ol8_ocne ol8_addons ol8_baseos_latest ol8_appstream && \
11+
dnf install -y helm kubectl && \
12+
rm -rf /var/cache/dnf
13+
14+
COPY help.sh /opt/help.sh
15+
16+
USER oracle
17+
18+
ENTRYPOINT []
19+
20+
CMD ["/bin/bash", "/opt/help.sh"]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
# Copyright (c) 2024 Oracle and/or its affiliates.
3+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4+
5+
echo "OCNE/OKE Tools"
6+
7+
echo "oci-cli version: $(oci --version)"
8+
helm version --template='helm version: {{.Version}}'
9+
echo ''
10+
echo "kubectl versions: "
11+
kubectl version --client

0 commit comments

Comments
 (0)