jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/378033 )
Change subject: docker: base image for CI images ...................................................................... docker: base image for CI images Factor out common bits in a base image. Make DEBIAN_FRONTEND a build arg, it will thus be set when building the images, but not when running containers. Craft /etc/locale.gen before installing 'locales' which will generate the locale we want. LANG LANGUAGE LC_ALL have to be set later else apt emits some warnings. Add ca-certificates, git since it is always going to be required for the ci images. Food for later: - I don't think locales generation is actually required - Probably want children images to update the CA certificates with: ONBUILD RUN /usr/sbin/update-ca-certificates --fresh Change-Id: Ie12d074039cc61d649f44f07fbc716d50cd4fcde --- A dockerfiles/ci-jessie/Dockerfile 1 file changed, 17 insertions(+), 0 deletions(-) Approvals: Hashar: Looks good to me, but someone else must approve Addshore: Looks good to me, approved jenkins-bot: Verified diff --git a/dockerfiles/ci-jessie/Dockerfile b/dockerfiles/ci-jessie/Dockerfile new file mode 100644 index 0000000..fce937a --- /dev/null +++ b/dockerfiles/ci-jessie/Dockerfile @@ -0,0 +1,17 @@ +FROM docker-registry.wikimedia.org/wikimedia-jessie:latest + +ARG DEBIAN_FRONTEND=noninteractive + +# Locale generation, auto generated by installing 'locales' +RUN apt-get update && \ + echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \ + apt-get install --yes --no-install-recommends \ + ca-certificates \ + git \ + locales \ + && \ + rm -rf /var/lib/apt/lists/* + +ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' + +RUN install --directory --mode 777 /log /src -- To view, visit https://gerrit.wikimedia.org/r/378033 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie12d074039cc61d649f44f07fbc716d50cd4fcde Gerrit-PatchSet: 5 Gerrit-Project: integration/config Gerrit-Branch: master Gerrit-Owner: Hashar <[email protected]> Gerrit-Reviewer: Addshore <[email protected]> Gerrit-Reviewer: Hashar <[email protected]> Gerrit-Reviewer: Paladox <[email protected]> Gerrit-Reviewer: Thcipriani <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
