GH-4: Set default locale to en_US.UTF-8

This commit is contained in:
Pierre Schmitz 2017-12-30 18:39:02 +01:00
parent 73077cd828
commit 53f5937db4
2 changed files with 2 additions and 0 deletions

View file

@ -1,3 +1,4 @@
FROM scratch
ADD archlinux.tar /
ENV LANG=en_US.UTF-8
CMD ["/usr/bin/bash"]

View file

@ -22,6 +22,7 @@ docker-image-test: docker-image
# Ensure that the image does not include a private key
! docker run --rm $(DOCKER_ORGANIZATION)/$(DOCKER_IMAGE) pacman-key --lsign-key pierre@archlinux.de
docker run --rm $(DOCKER_ORGANIZATION)/$(DOCKER_IMAGE) sh -c "/usr/bin/id -u http"
docker run --rm $(DOCKER_ORGANIZATION)/$(DOCKER_IMAGE) sh -c "/usr/bin/pacman -Syu --noconfirm grep && locale | grep -q UTF-8"
ci-test:
docker run --rm --privileged --tmpfs=/tmp:exec --tmpfs=/run/shm -v /run/docker.sock:/run/docker.sock \