Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
Signed-off-by: limengxuan <391013634@qq.com>
  • Loading branch information
archlitchi committed Jul 26, 2024
1 parent cdc7262 commit eb14ee2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev-image-build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Build dev image
on:
pull_request_target:
types:
Expand Down
9 changes: 3 additions & 6 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,9 @@ RUN cd /k8s-vgpu && make all
FROM $NVIDIA_IMAGE AS NVBUILD
COPY ./libvgpu /libvgpu
WORKDIR /libvgpu
RUN apt-get -y update && apt-get -y install wget
RUN wget https://cmake.org/files/v3.19/cmake-3.19.8-Linux-x86_64.tar.gz
RUN tar -xf cmake-3.19.8-Linux-x86_64.tar.gz
RUN cp /libvgpu/cmake-3.19.8-Linux-x86_64/bin/cmake /libvgpu/cmake-3.19.8-Linux-x86_64/bin/cmake3
ENV PATH="/libvgpu/cmake-3.19.8-Linux-x86_64/bin:${PATH}"
RUN apt-get -y install openssl libssl-dev
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update; apt-get -y install cmake
RUN rm -r ./build
RUN bash ./build.sh

FROM nvidia/cuda:12.4.1-base-ubuntu22.04
Expand Down

0 comments on commit eb14ee2

Please sign in to comment.