Skip to content
Open
Changes from all commits
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
24 changes: 12 additions & 12 deletions base/ubi9/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1.3-labs

# https://catalog.redhat.com/en/software/containers/ubi9/ubi/
FROM registry.access.redhat.com/ubi9/ubi:9.6-1756915113
# https://catalog.redhat.com/en/software/containers/ubi9/618326f8c0d15aff4912fe0b
FROM registry.access.redhat.com/ubi9/ubi:9.7-1764794285

ARG TARGETARCH
LABEL maintainer="Red Hat, Inc."
Expand Down Expand Up @@ -37,11 +37,11 @@ RUN dnf -y reinstall shadow-utils && \
dnf clean all

# Download and install gh-cli depending on the architecture.
# See release page for details https://github.com/cli/cli/releases/tag/v2.78.0
# See release page for details https://github.com/cli/cli/releases/tag/v2.83.2
RUN \
TEMP_DIR="$(mktemp -d)"; \
cd "${TEMP_DIR}"; \
GH_VERSION="2.78.0"; \
GH_VERSION="2.83.2"; \
GH_ARCH="linux_$TARGETARCH"; \
GH_TGZ="gh_${GH_VERSION}_${GH_ARCH}.tar.gz"; \
GH_TGZ_URL="https://github.com/cli/cli/releases/download/v${GH_VERSION}/${GH_TGZ}"; \
Expand All @@ -56,11 +56,11 @@ RUN \
rm -rf "${TEMP_DIR}"

# Download and install ripgrep depending on the architecture.
# See release page for details https://github.com/BurntSushi/ripgrep/releases/tag/13.0.0
# See release page for details https://github.com/BurntSushi/ripgrep/releases/tag/15.1.0
RUN \
TEMP_DIR="$(mktemp -d)"; \
cd "${TEMP_DIR}"; \
RG_VERSION="13.0.0"; \
RG_VERSION="15.1.0"; \
if [ "$TARGETARCH" = "arm64" ]; then \
RG_ARCH="arm-unknown-linux-gnueabihf"; \
else \
Expand All @@ -76,11 +76,11 @@ RUN \
rm -rf "${TEMP_DIR}"

# Download and install bat depending on the architecture.
# See release page for details https://github.com/sharkdp/bat/releases/tag/v0.18.3
# See release page for details https://github.com/sharkdp/bat/releases/tag/v0.26.0
RUN \
TEMP_DIR="$(mktemp -d)"; \
cd "${TEMP_DIR}"; \
BAT_VERSION="0.18.3"; \
BAT_VERSION="0.26.0"; \
if [ "$TARGETARCH" = "arm64" ]; then \
BAT_ARCH="aarch64-unknown-linux-gnu"; \
else \
Expand All @@ -96,11 +96,11 @@ RUN \
rm -rf "${TEMP_DIR}"

# Download and install fd depending on the architecture.
# See release page for details https://github.com/sharkdp/fd/releases/tag/v8.7.0
# See release page for details https://github.com/sharkdp/fd/releases/tag/v10.3.0
RUN \
TEMP_DIR="$(mktemp -d)" && \
cd "${TEMP_DIR}" && \
FD_VERSION="8.7.0" && \
FD_VERSION="10.3.0" && \
if [ "$TARGETARCH" = "arm64" ]; then \
FD_ARCH="aarch64-unknown-linux-gnu"; \
else \
Expand Down Expand Up @@ -136,8 +136,8 @@ RUN mkdir -p /var/lib/shared/overlay-images /var/lib/shared/overlay-layers; \
touch /var/lib/shared/overlay-layers/layers.lock

# Add kubedock
# See release page for details https://github.com/joyrex2001/kubedock/releases/tag/0.18.2
ENV KUBEDOCK_VERSION 0.18.2
# See release page for details https://github.com/joyrex2001/kubedock/releases/tag/0.19.0
ENV KUBEDOCK_VERSION 0.19.0
ENV KUBECONFIG=/home/user/.kube/config
RUN KUBEDOCK_ARCH="linux_amd64" && \
curl -L https://github.com/joyrex2001/kubedock/releases/download/${KUBEDOCK_VERSION}/kubedock_${KUBEDOCK_VERSION}_${KUBEDOCK_ARCH}.tar.gz | tar -C /usr/local/bin -xz --no-same-owner \
Expand Down
Loading