Skip to content

Commit c37ab84

Browse files
Fix local encoding when building monocle
1 parent b2960de commit c37ab84

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

DockerfileUBI

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,12 @@ RUN dnf install -y \
7272
# Copy source tree
7373
COPY . /build
7474

75+
ENV LANG en_US.UTF-8
76+
7577
# Build Monocle
7678
RUN cd /build && \
7779
cabal update && \
78-
cabal install --project-file=cabal-override.project --installdir /
80+
bash -c "source /etc/profile; cabal install --project-file=cabal-override.project --installdir /"
7981

8082
##### Monocle Web UI build #####
8183

0 commit comments

Comments
 (0)