zeratax / yacx

Yet Another CudaExecutor - wrapper to easily compile and execute cuda kernels
https://zeratax.github.io/yacx
MIT License
8 stars 4 forks source link

use docker image for dependencies #156

Open zeratax opened 4 years ago

zeratax commented 4 years ago

release workflow currently still install a lot of deps which slows down the process, we should create a custom docker image based on the currently used docker image which additionally does: https://github.com/ZerataX/yacx/blob/c3ef67fc2ef59ea0a8708f2e3ba0a7eb00675566/.github/workflows/release.yml#L22-L26

probably looks something like this

FROM nvidia/cuda:10.2-devel-ubuntu18.04

RUN apt-get update && apt-get install -y --no-install-recommends \
   cmake\
   openjdk-11-jdk \
   default-jdk \
&& \
    rm -rf /var/lib/apt/lists/*

ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk

and then maybe upload to dockerhub or w/e?? idk never really created my own docker image