Skip to content

Commit bc713a5

Browse files
authored
Add the azure container user local bin to container path (#199)
This removes the need for pipeline files to add this path, and simplified use of the container.
1 parent b2e7224 commit bc713a5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Containers/Ubuntu-22/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ ARG MARKDOWNLINT_VERSION=0.31.0
2222
ENV DEBIAN_FRONTEND=noninteractive
2323
ENV TZ=UTC
2424

25+
# Work-around for azure pipelines adding the vsts_azpcontainer user, but not adding
26+
# the .local/bin directory to the path which will be used by pip.
27+
ENV PATH $PATH:/home/vsts_azpcontainer/.local/bin
28+
2529
RUN apt-get update && \
2630
apt-get install --yes --no-install-recommends \
2731
bison \

0 commit comments

Comments
 (0)