Skip to content

Commit e680905

Browse files
authored
Merge pull request #143 from petrovm3/patch-2
Workaround for fixing UTF8 issues
2 parents 5a2e1b6 + b923c0d commit e680905

1 file changed

Lines changed: 21 additions & 5 deletions

File tree

Dockerfile

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
11
FROM ubuntu
22

3-
RUN apt-get update && \
4-
apt-get install -y git python3-pip python3.6 && \
5-
apt-get install -y openslide-tools
3+
RUN apt-get update \
4+
&& apt-get install -y git python3-pip python3.6 \
5+
&& apt-get install -y openslide-tools
6+
7+
# uncomment:
8+
# 1 - this additional RUN only if you are facing issues with UTF8 when running your container
9+
# 2 - all ENV variables in comment
10+
11+
#RUN apt-get update -y \
12+
# && apt-get install --reinstall -y locales \
13+
# # uncomment chosen locale to enable it's generation
14+
# && sed -i 's/# pl_PL.UTF-8 UTF-8/pl_PL.UTF-8 UTF-8/' /etc/locale.gen \
15+
# # generate chosen locale
16+
# && locale-gen pl_PL.UTF-8
17+
18+
## set system-wide locale settings
19+
#ENV LANG pl_PL.UTF-8
20+
#ENV LANGUAGE pl_PL
21+
#ENV LC_ALL pl_PL.UTF-8
622

723
RUN cd /opt \
8-
git clone https://github.com/choosehappy/HistoQC.git \
9-
pip3 install -r /opt/HistoQC/requirements.txt
24+
&& git clone https://github.com/choosehappy/HistoQC.git \
25+
&& pip3 install -r /opt/HistoQC/requirements.txt

0 commit comments

Comments
 (0)