Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Merge branch 'bump-cuda-version' into 'main'
Browse files Browse the repository at this point in the history
Bump dependencies

See merge request nvidia/kubernetes/gpu-feature-discovery!174
  • Loading branch information
Evan Lezar committed Jul 5, 2023
2 parents 1388798 + aac76e9 commit 7aae4ee
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .common-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
default:
image: docker:stable
image: docker
services:
- name: docker:stable-dind
- name: docker:dind
command: ["--experimental"]

variables:
Expand Down
27 changes: 21 additions & 6 deletions deployments/container/Dockerfile.ubi8
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,29 @@
# limitations under the License.

ARG BASE_DIST=ubi8
ARG CUDA_VERSION=11.6.1
ARG GOLANG_VERSION=1.20.1
ARG CUDA_VERSION=12.2.0
ARG GOLANG_VERSION=1.20.5

FROM golang:${GOLANG_VERSION} as build
FROM nvidia/cuda:${CUDA_VERSION}-base-${BASE_DIST} as build

# We override the GOPATH to ensure that the binaries are installed to
# /artifacts/bin
ARG GOPATH=/artifacts
RUN yum install -y wget make git gcc

ARG GOLANG_VERSION=0.0.0
RUN set -eux; \
\
arch="$(uname -m)"; \
case "${arch##*-}" in \
x86_64 | amd64) ARCH='amd64' ;; \
ppc64el | ppc64le) ARCH='ppc64le' ;; \
aarch64) ARCH='arm64' ;; \
*) echo "unsupported architecture" ; exit 1 ;; \
esac; \
wget -nv -O - https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz \
| tar -C /usr/local -xz


ENV GOPATH /go
ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH

WORKDIR /build
COPY . .
Expand Down
4 changes: 2 additions & 2 deletions versions.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ VERSION ?= v0.8.1

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

CUDA_VERSION := 12.1.0
GOLANG_VERSION ?= 1.20.1
CUDA_VERSION := 12.2.0
GOLANG_VERSION ?= 1.20.5

GIT_COMMIT ?= $(shell git describe --match="" --dirty --long --always --abbrev=40 2> /dev/null || echo "")

0 comments on commit 7aae4ee

Please sign in to comment.