Change onap-k8s-toolbox base image to ubuntu 76/136876/1
authorMarek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>
Tue, 9 Jan 2024 13:07:41 +0000 (14:07 +0100)
committerMarek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>
Tue, 9 Jan 2024 13:07:54 +0000 (14:07 +0100)
Previous image versions were based on alpine
which was not tested against the OOM makefiles. Switch
to Ubuntu should fix compatibility issues with
the installer.

Issue-ID: INT-2276
Change-Id: Ia249bd1b5708c65e15e18b6d6c2b90c5f369ddeb
Signed-off-by: Marek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>
pipelines/docker-onap-k8s-toolbox/Dockerfile
pipelines/docker-onap-k8s-toolbox/container-tag.yaml

index cdaf764..93c30bf 100644 (file)
@@ -1,4 +1,4 @@
-FROM alpine:latest
+FROM ubuntu:jammy
 
 ARG KUBECTL_VERSION="v1.28.4"
 ARG KUBECTL_URL="https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl"
@@ -9,7 +9,7 @@ ARG HELM_URL="https://get.helm.sh/${HELM_ARCHIVE}"
 
 WORKDIR /root
 
-RUN apk add --no-cache git curl bash make \
+RUN apt-get update && apt-get install -y git curl make \
     && curl -L $KUBECTL_URL -o /usr/local/bin/kubectl \
     && chmod +x /usr/local/bin/kubectl \
     && curl -L $HELM_URL -o $HELM_ARCHIVE \
@@ -17,4 +17,4 @@ RUN apk add --no-cache git curl bash make \
     && mv linux-amd64/helm /usr/local/bin/helm \
     && rm -rf linux-amd64 $HELM_ARCHIVE
 
-CMD ["/bin/sh"]
\ No newline at end of file
+CMD ["/bin/bash"]
\ No newline at end of file