Skip to content

Commit 226ac68

Browse files
committed
Change H2O to resolve via conda and bundle tf into its own layer
1 parent 213a24a commit 226ac68

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile.tmpl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,8 @@ RUN JAXVER=$(pip freeze | grep -e "^jax==") && \
183183
flax \
184184
"${JAXVER}" && \
185185

186-
# Install h2o from source.
187-
# Use `conda install -c h2oai h2o` once Python 3.7 version is released to conda.
188-
apt-get install -y default-jre-headless && \
189-
pip install -f https://h2o-release.s3.amazonaws.com/h2o/latest_stable_Py.html h2o \
186+
RUN conda install -c h2oai h2o && /tmp/clean-layer.sh
187+
RUN pip install \
190188
"tensorflow-gcs-config<=${TENSORFLOW_VERSION}" \
191189
"tensorflow==${TENSORFLOW_VERSION}" \
192190
tensorflow-addons \

0 commit comments

Comments
 (0)