Skip to content
Snippets Groups Projects
Commit 88f6de97 authored by Jonas Eppelt's avatar Jonas Eppelt
Browse files

debugging

parent 0ee36640
Branches
No related tags found
No related merge requests found
......@@ -35,9 +35,12 @@ create_jupytermachine_version:
for image in "${IMAGES[@]}"; do
# Read the existing base image from the Dockerfile
OLD_BASE_IMAGE=$(grep -E '^\s*FROM\s+.*' Dockerfile | awk '{print $2}');
echo $OLD_BASE_IMAGE
# Replace "basic_jupytermachine" with the new base image name
NEW_BASE_IMAGE=$IMAGE_PREFIX/etp_${image});
echo $NEW_BASE_IMAGE
sed -i "s/$OLD_BASE_IMAGE/$NEW_BASE_IMAGE/" "Dockerfile";
cat Dockerfile
# Build the second version of the container
docker build -t "$IMAGE_PREFIX/jupytermachine_${image}" -f "Dockerfile" .;
docker push "$IMAGE_PREFIX/jupytermachine_${image}";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment