Bug 1946522 - layer update-verify docker image on top of debian12-base r=bhearsum DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D238069
This commit is contained in:
Julien Cristau
2025-02-13 16:34:04 +00:00
parent a454ce8f9c
commit fdf832ed53
3 changed files with 3 additions and 10 deletions

View File

@@ -22,10 +22,8 @@ RUN bash /tmp/system-setup.sh
RUN chown -R worker:worker /builds/worker/bin && chmod 755 /builds/worker/bin/* RUN chown -R worker:worker /builds/worker/bin && chmod 755 /builds/worker/bin/*
ENV PATH $PATH:/builds/worker/bin ENV PATH $PATH:/builds/worker/bin
# Set variable normally configured at login, by the shells parent process, these ENV LANG C.UTF-8
# are taken from GNU su manual ENV LC_ALL C.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
# Set a default command useful for debugging # Set a default command useful for debugging
CMD ["/bin/bash", "--login"] CMD ["/bin/bash", "--login"]

View File

@@ -18,11 +18,6 @@ apt_packages+=('sudo')
apt-get update apt-get update
apt-get install "${apt_packages[@]}" apt-get install "${apt_packages[@]}"
# Without this we get spurious "LC_ALL: cannot change locale (en_US.UTF-8)" errors,
# and python scripts raise UnicodeEncodeError when trying to print unicode characters.
locale-gen en_US.UTF-8
dpkg-reconfigure locales
su -c 'git config --global user.email "worker@mozilla.test"' worker su -c 'git config --global user.email "worker@mozilla.test"' worker
su -c 'git config --global user.name "worker"' worker su -c 'git config --global user.name "worker"' worker

View File

@@ -254,7 +254,7 @@ tasks:
symbol: I(pg) symbol: I(pg)
update-verify: update-verify:
symbol: I(uv) symbol: I(uv)
parent: ubuntu2004-base parent: debian12-base
diffoscope: diffoscope:
symbol: I(diff) symbol: I(diff)
parent: debian12-base parent: debian12-base