diff options
-rw-r--r-- | Dockerfile | 12 | ||||
-rwxr-xr-x | travis-build.sh | 1 |
2 files changed, 11 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index 0da723d1..f0106b7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,9 @@ # Build the latest openSUSE Tumbleweed image FROM opensuse/tumbleweed +# expect - for functional tests +# libmicrohttpd - for stabber +# glibc-locale - to have en_US locale RUN zypper --non-interactive in --no-recommends \ git \ gcc \ @@ -11,6 +14,7 @@ RUN zypper --non-interactive in --no-recommends \ libtool \ glib2-devel \ gtk2-devel \ + expect-devel \ libXss-devel \ libcurl-devel \ libexpat-devel \ @@ -28,7 +32,13 @@ RUN zypper --non-interactive in --no-recommends \ readline-devel \ libsignal-protocol-c-devel \ libgcrypt-devel \ - libmicrohttpd-devel + libmicrohttpd-devel \ + glibc-locale + +# https://github.com/openSUSE/docker-containers-build/issues/26 +ENV LANG en_US.UTF-8 +ENV LANGUAGE en_US:en +ENV LC_ALL en_US.UTF-8 RUN mkdir -p /usr/src WORKDIR /usr/src diff --git a/travis-build.sh b/travis-build.sh index bc01a721..aa88105a 100755 --- a/travis-build.sh +++ b/travis-build.sh @@ -133,4 +133,3 @@ make make check ./profanity -v make clean - |