docker: jenkins user for CI (#84)

This commit is contained in:
Sam Darwin
2024-11-05 17:20:38 -07:00
committed by GitHub
parent 392417ff08
commit cc1b4f9f2e
2 changed files with 5 additions and 1 deletions

View File

@@ -108,6 +108,10 @@ RUN npm install -g @mermaid-js/mermaid-cli@10.5.1
# RUN wget http://launchpadlibrarian.net/740831076/zip_3.0-14_amd64.deb && sudo dpkg -i zip_3.0-14_amd64.deb && rm zip_3.0-14_amd64.deb
# Temporary zip fix 2:
COPY zip /usr/bin/zip
# For other CI jobs:
RUN groupadd -g 150 jenkins
RUN useradd jenkins -u 150 -g 150 -m -s /bin/bash
RUN echo "ALL ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/all
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8

View File

@@ -1,5 +1,5 @@
#!/bin/bash
# update the image name as necessary.
imagename="cppalliance/boost_superproject_build:24.04-v1"
imagename="cppalliance/boost_superproject_build:24.04-v2"
docker build --progress=plain -t $imagename . 2>&1 | tee /tmp/output.txt