Skip to content

Commit

Permalink
Updating golang and cuda image
Browse files Browse the repository at this point in the history
  • Loading branch information
visheshtanksale committed Apr 8, 2024
1 parent 30003ab commit 97e7972
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deployments/container/Dockerfile.ubi8
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

ARG CUDA_VERSION
ARG BASE_DIST
ARG GOLANG_VERSION=1.20.2
ARG GOLANG_VERSION

FROM golang:${GOLANG_VERSION} AS build

Expand All @@ -27,7 +27,7 @@ COPY . .
ARG VERSION="N/A"
ARG GIT_COMMIT="unknown"

RUN go build -o /artifacts/k8s-cc-manager ./cmd
RUN CGO_ENABLED=0 go build -o /artifacts/k8s-cc-manager ./cmd
RUN cp ./scripts/cc-manager.sh /artifacts/cc-manager.sh

RUN OS_ARCH=${TARGETARCH/x86_64/amd64} && OS_ARCH=${OS_ARCH/aarch64/arm64} && curl -o /artifacts/kubectl -L "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/${OS_ARCH}/kubectl";
Expand Down
1 change: 1 addition & 0 deletions deployments/container/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ $(BUILD_TARGETS): build-%:
--tag $(IMAGE) \
--build-arg BASE_DIST="$(DIST)" \
--build-arg CUDA_VERSION="$(CUDA_VERSION)" \
--build-arg GOLANG_VERSION="$(GOLANG_VERSION)" \
--build-arg VERSION="$(VERSION)" \
--build-arg CVE_UPDATES="$(CVE_UPDATES)" \
--build-arg GPU_ADMIN_TOOLS_VERSION="$(GPU_ADMIN_TOOLS_VERSION)" \
Expand Down
4 changes: 2 additions & 2 deletions versions.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ VERSION ?= v0.1.1

vVERSION := v$(VERSION:v%=%)

CUDA_VERSION := 12.2.2
GOLANG_VERSION ?= 1.20.9
CUDA_VERSION := 12.4.0
GOLANG_VERSION ?= 1.21.5

GPU_ADMIN_TOOLS_VERSION := v2024.02.14

0 comments on commit 97e7972

Please sign in to comment.