summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2017-12-30 18:39:02 +0100
committerPierre Schmitz <pierre@archlinux.de>2017-12-30 18:39:02 +0100
commit53f5937db48cf564501207038a1dd3e39cba9180 (patch)
tree495e0de09e7d12bd9c3e82440c98287a64cfc4f0
parent73077cd82879c432bb8311b9aaf501c8d4594217 (diff)
GH-4: Set default locale to en_US.UTF-8
-rw-r--r--Dockerfile1
-rw-r--r--Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index eb356d6..cde2238 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,3 +1,4 @@
FROM scratch
ADD archlinux.tar /
+ENV LANG=en_US.UTF-8
CMD ["/usr/bin/bash"]
diff --git a/Makefile b/Makefile
index d799f07..3b72c0d 100644
--- a/Makefile
+++ b/Makefile
@@ -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 \