File tree Expand file tree Collapse file tree 2 files changed +4
-25
lines changed
Expand file tree Collapse file tree 2 files changed +4
-25
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,6 @@ RUN az config set core.login_experience_v2=off 2>/dev/null || true && \
4141 az extension add --name containerapp --only-show-errors 2>/dev/null || true && \
4242 az extension add --name front-door --only-show-errors 2>/dev/null || true
4343
44- # Pre-install Python dependencies for faster updateContentCommand
45- COPY requirements.txt /tmp/requirements.txt
46- RUN --mount=type=cache,target=/home/vscode/.cache/pip \
47- /usr/local/bin/python3.12 -m pip install --user --no-cache-dir -r /tmp/requirements.txt && \
48- rm /tmp/requirements.txt
49-
5044# Pre-create virtual environment template for faster virtual env setup
5145RUN /usr/local/bin/python3.12 -m venv /tmp/venv-template && \
5246 /tmp/venv-template/bin/pip install --no-cache-dir \
@@ -77,8 +71,8 @@ HEALTHCHECK --interval=60s --timeout=5s --start-period=10s --retries=2 \
7771
7872# Add labels for maintainability
7973LABEL maintainer="APIM Samples Team" \
80- description="Simplified dev container for Azure API Management samples with Codespaces prebuild optimization " \
81- version="2.1 " \
74+ description="Optimized dev container for Azure API Management samples with Codespaces prebuild support " \
75+ version="2.2 " \
8276 python.version="3.12" \
8377 debian.version="bookworm" \
8478 venv.location="/workspaces/Apim-Samples/.venv"
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33# ------------------------------
4- # APIM SAMPLES INSTANT VERIFecho ""
5- echo " "
6- echo " NEXT STEPS:"
7- echo " -----------"
8- echo " "
9- echo " 1. Log in via the Azure CLI: az login"
10- echo " 2. Start using the infrastructures and samples!"
11- echo " "
12- echo " ============================================================================"
13- echo -e " \n\n\n" -------------------------
4+ # APIM SAMPLES INSTANT VERIFICATION
5+ # ------------------------------
146
157start=$( date +%s.%N)
168
@@ -84,17 +76,10 @@ echo "📋 You can minimize this panel or open a new terminal for your work."
8476echo " "
8577echo " 🚀 Your APIM Samples environment is ready to use!"
8678echo " "
87- echo " 🔍 This terminal shows your Codespace verification progress and logs."
88- echo " 📋 You can minimize this panel or open a new terminal for your work."
89- echo " "
90- echo " 🚀 Your APIM Samples environment is ready to use!"
91- echo " "
92- echo " "
9379echo " NEXT STEPS:"
9480echo " -----------"
9581echo " "
9682echo " 1. Log in via the Azure CLI: az login"
9783echo " 2. Start using the infrastructures and samples!"
9884echo " "
9985echo " ============================================================================"
100- echo -e " \n\n\n"
You can’t perform that action at this time.
0 commit comments