diff --git a/Dockerfile b/Dockerfile index 1c2523b..c5da0be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,9 @@ # Base image FROM debian:trixie-slim -# Set environment variables +# Set environment variables (DEBIAN_FRONTEND and LANG) ENV DEBIAN_FRONTEND=noninteractive \ - LANG=C.UTF-8 \ - PATH=/usr/local/bundle/bin:/opt/venv/bin:$PATH + LANG=C.UTF-8 # Install system dependencies RUN apt-get update && apt-get install -y --no-install-recommends \ @@ -35,8 +34,12 @@ RUN gem install bundler jekyll RUN python3 -m venv /opt/venv \ && /opt/venv/bin/pip install --no-cache-dir --upgrade pip ansible +# Update PATH globally for all shells/steps +ENV PATH=/usr/local/bundle/bin:/opt/venv/bin:$PATH + # Create workspace WORKDIR /workspace # Default shell SHELL ["/bin/bash", "-c"] +