Skip to content

Commit

Permalink
[Curated-Apps] Use latest image tags
Browse files Browse the repository at this point in the history
Redis, PyTorch, MySQL and MariaDB image tags are updated.

Redis 7.0.11+ is based on Debian 12 which is not supported in GSC yet,
hence using 7.0.10 which is based on Debian 11. Memcached 1.6+ uses the
eventfd syscall which is insecure in Gramine, hence keeping the current
tag 1.5-20.04_beta. TF-Serving is built locally and is latest based on
Ubuntu 20.04. OpenVINO Model Server and scikit-learn are already on
latest tags.

Signed-off-by: jkr0103 <jitender.kumar@intel.com>
  • Loading branch information
jkr0103 authored and dimakuv committed Aug 24, 2023
1 parent 0bdb9be commit 7a0c4c0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Intel-Confidential-Compute-for-X/workloads/mariadb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Perform the following steps on your system:
mkdir workloads/mariadb/test_db
docker run --rm --net=host --name init_test_db \
-v $PWD/workloads/mariadb/test_db:/test_db \
-e MARIADB_RANDOM_ROOT_PASSWORD=yes -e MARIADB_DATABASE=test_db mariadb:10.7 \
-e MARIADB_RANDOM_ROOT_PASSWORD=yes -e MARIADB_DATABASE=test_db mariadb:11.0.3-jammy \
--datadir /test_db &
docker stop init_test_db
sudo chown -R $USER:$USER $PWD/workloads/mariadb/test_db
Expand Down Expand Up @@ -60,7 +60,7 @@ Perform the following steps on your system:
- To generate a Gramine-protected, pre-configured, non-production ready, test image for MariaDB,
execute the following script:
```sh
python3 ./curate.py mariadb mariadb:10.7 test
python3 ./curate.py mariadb mariadb:11.0.3-jammy test
```
- To generate a Gramine-protected, pre-configured MariaDB image based on a user-provided MariaDB
image, execute the following to launch an interactive setup script:
Expand Down
4 changes: 2 additions & 2 deletions Intel-Confidential-Compute-for-X/workloads/mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Perform the following steps on your system:
mkdir workloads/mysql/test_db
docker run --rm --net=host --name init_test_db --user $(id -u):$(id -g) \
-v $PWD/workloads/mysql/test_db:/test_db \
-e MYSQL_ALLOW_EMPTY_PASSWORD=true -e MYSQL_DATABASE=test_db mysql:8.0.32-debian \
-e MYSQL_ALLOW_EMPTY_PASSWORD=true -e MYSQL_DATABASE=test_db mysql:8.0.34-debian \
--datadir /test_db &
docker stop init_test_db
```
Expand All @@ -54,7 +54,7 @@ Perform the following steps on your system:
- To generate a Gramine-protected, pre-configured, non-production ready, test image for MySQL,
execute the following script:
```sh
python3 ./curate.py mysql mysql:8.0.32-debian test
python3 ./curate.py mysql mysql:8.0.34-debian test
```
- To generate a Gramine-protected, pre-configured MySQL image based on a user-provided MySQL
image, execute the following to launch an interactive setup script:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
# Copyright (C) 2022 Intel Corporation

FROM pytorch/pytorch:latest
FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime
COPY input.jpg ./
COPY classes.txt ./
COPY alexnet-pretrained.pt ./
Expand Down
2 changes: 1 addition & 1 deletion Intel-Confidential-Compute-for-X/workloads/redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Perform the following steps on your system:
- To generate a Gramine-protected, pre-configured, non-production ready, test image for Redis,
execute the following script:
```sh
python3 ./curate.py redis redis:7.0.0 test
python3 ./curate.py redis redis:7.0.10 test
```
- To generate a Gramine-protected, pre-configured Redis image based on a user-provided Redis
image, execute the following to launch an interactive setup script:
Expand Down

0 comments on commit 7a0c4c0

Please sign in to comment.