Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating golang and cuda image #9

Merged
merged 1 commit into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
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
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