Skip to content

Commit

Permalink
[Java][DLC] try with CA cert update (#1820)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qing Lan authored Apr 26, 2024
1 parent aff9417 commit 45ef823
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ node_modules/
tests/integration/models/
engines/python/setup/djl_python/tests/resources*

tests/integration/awscurl
#Python
__pycache__
*.egg-info/
Expand Down
3 changes: 2 additions & 1 deletion serving/docker/scripts/install_djl_serving.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ if [ -z "$PYTORCH_JNI" ]; then
curl \
jq \
unzip \
ca-certificates \
vim
# add corretto https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/generic-linux-install.html
wget --no-check-certificate -O - https://apt.corretto.aws/corretto.key | gpg --dearmor -o /usr/share/keyrings/corretto-keyring.gpg && \
wget -O - https://apt.corretto.aws/corretto.key | gpg --dearmor -o /usr/share/keyrings/corretto-keyring.gpg && \
echo "deb [signed-by=/usr/share/keyrings/corretto-keyring.gpg] https://apt.corretto.aws stable main" | tee /etc/apt/sources.list.d/corretto.list
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
java-17-amazon-corretto-jdk
Expand Down
Binary file removed tests/integration/awscurl
Binary file not shown.

0 comments on commit 45ef823

Please sign in to comment.