Skip to content

Commit 0ace462

Browse files
authored
[RAPTOR-12536] add more required tools into envs 2 (#1441)
1 parent 9dc4359 commit 0ace462

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

public_dropin_environments/python3_keras/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ COPY --from=build /bin/sh /bin/sh
1515
# Required to change the ownership of copied files into the managed-image
1616
COPY --from=build /bin/chown /bin/chown
1717

18+
# Required to change the ownership for Custom Models PPS
19+
COPY --from=build /bin/chgrp /bin/chgrp
20+
1821
# Required to change the permissions of the 'start_server.sh' that is copied into the managed-image
1922
COPY --from=build /bin/chmod /bin/chmod
2023

@@ -40,8 +43,7 @@ RUN sh -c "python -m venv ${VIRTUAL_ENV} && \
4043
python -m ensurepip --default-pip && \
4144
python -m pip install --upgrade pip && \
4245
python -m pip install --no-cache-dir -r requirements.txt && \
43-
find ${VIRTUAL_ENV} -type d -name '__pycache__' -exec rm -rf {} + && \
44-
rm -rf /usr/bin/rm /usr/bin/find"
46+
find ${VIRTUAL_ENV} -type d -name '__pycache__' -exec rm -rf {} +"
4547

4648
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}
4749
ENV HOME=/opt

public_dropin_environments/python3_keras/env_info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "[DataRobot] Python 3.11 Keras Drop-In",
44
"description": "This template environment can be used to create artifact-only keras custom models. This environment contains keras backed by tensorflow and only requires your model artifact as a .h5 file and optionally a custom.py file.",
55
"programmingLanguage": "python",
6-
"environmentVersionId": "68220405046afc414c6a9ff9",
6+
"environmentVersionId": "68265a3bea2e210f7815021b",
77
"isPublic": true,
88
"useCases": [
99
"customModel"

0 commit comments

Comments
 (0)