11 lines
438 B
Markdown
11 lines
438 B
Markdown
# Build and push custom Python base image to Harbor
|
|
# This image has all build dependencies pre-installed
|
|
|
|
# 1. Build the image locally (from your machine with internet access)
|
|
docker build -t harbor.dvirlabs.com/base-images/python:3.11-slim-dev ./base-images/python-3.11-slim-dev
|
|
|
|
# 2. Push to Harbor
|
|
docker push harbor.dvirlabs.com/base-images/python:3.11-slim-dev
|
|
|
|
# Now your cluster can use this image without needing internet access
|