Skip to content

Commit ac02248

Browse files
Added build args for codeflare-sdk in notebook image build (#167)
* Added build args for codeflare-sdk in notebook image build --------- Co-authored-by: Kevin Postlethwait <[email protected]>
1 parent b4d84c1 commit ac02248

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

custom-nb-image/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# limitations under the License.
1414

1515
FROM quay.io/opendatahub/notebooks:jupyter-minimal-ubi8-python-3.8-4c8f26e
16-
1716
# Install: torch (v1.12), ray (v2.1.0) and others
1817

1918
COPY requirements.txt requirements.txt
@@ -23,7 +22,8 @@ RUN pip install -r requirements.txt
2322
RUN pip uninstall pickle5 -y
2423

2524
# Install codeflare-sdk and other libraries
26-
RUN pip install codeflare-sdk==0.4.5 \
25+
ARG SDK_VERSION=0.*
26+
RUN pip install codeflare-sdk==${SDK_VERSION} \
2727
datasets==2.6.1 \
2828
transformers==4.23.1 \
2929
evaluate==0.3.0

0 commit comments

Comments
 (0)