From 33538d5a9811a764bb035ac9954342fb2683eeb7 Mon Sep 17 00:00:00 2001 From: Matthew McKinnon Date: Sun, 31 Aug 2025 16:03:27 +1000 Subject: [PATCH] chore: add PATH to Dockerfile for ansible and bundle --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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"] +