Skip to content

Commit c38d73f

Browse files
committed
feat(ci): add dockerfile_fragments.py to ci/generate_code.sh to ensure code is in sync
1 parent 9dabd59 commit c38d73f

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

ci/generate_code.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
22
set -Eeuxo pipefail
33

4+
python3 scripts/dockerfile_fragments.py
45
bash scripts/sync-requirements-txt.sh

jupyter/pytorch+llmcompressor/ubi9-python-3.11/Dockerfile.cuda

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@ USER 1001
3030
# Install micropipenv to deploy packages from Pipfile.lock
3131
RUN pip install --no-cache-dir -U "micropipenv[toml]"
3232

33-
# Install the oc client
33+
# Install the oc client begin
3434
RUN curl -L https://mirror.openshift.com/pub/openshift-v4/$(uname -m)/clients/ocp/stable/openshift-client-linux.tar.gz \
3535
-o /tmp/openshift-client-linux.tar.gz && \
3636
tar -xzvf /tmp/openshift-client-linux.tar.gz oc && \
3737
rm -f /tmp/openshift-client-linux.tar.gz
38+
# Install the oc client end
3839

3940
####################
4041
# cuda-base #

runtimes/pytorch+llmcompressor/ubi9-python-3.11/Dockerfile.cuda

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ USER 1001
1717
# Install micropipenv to deploy packages from Pipfile.lock
1818
RUN pip install --no-cache-dir -U "micropipenv[toml]"
1919

20-
# Install the oc client
20+
# Install the oc client begin
2121
RUN curl -L https://mirror.openshift.com/pub/openshift-v4/$(uname -m)/clients/ocp/stable/openshift-client-linux.tar.gz \
2222
-o /tmp/openshift-client-linux.tar.gz && \
2323
tar -xzvf /tmp/openshift-client-linux.tar.gz oc && \
2424
rm -f /tmp/openshift-client-linux.tar.gz
25+
# Install the oc client end
2526

2627
####################
2728
# cuda-base #

0 commit comments

Comments
 (0)