chore: add PATH to Dockerfile for ansible and bundle
All checks were successful
/ build-docker (push) Successful in 3m1s
All checks were successful
/ build-docker (push) Successful in 3m1s
This commit is contained in:
@ -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"]
|
||||
|
||||
|
Reference in New Issue
Block a user