Skip to content

Commit

Permalink
Merge pull request #143 from petrovm3/patch-2
Browse files Browse the repository at this point in the history
Workaround for fixing UTF8 issues
  • Loading branch information
choosehappy authored Nov 27, 2019
2 parents 5a2e1b6 + b923c0d commit e680905
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
FROM ubuntu

RUN apt-get update && \
apt-get install -y git python3-pip python3.6 && \
apt-get install -y openslide-tools
RUN apt-get update \
&& apt-get install -y git python3-pip python3.6 \
&& apt-get install -y openslide-tools

# uncomment:
# 1 - this additional RUN only if you are facing issues with UTF8 when running your container
# 2 - all ENV variables in comment

#RUN apt-get update -y \
# && apt-get install --reinstall -y locales \
# # uncomment chosen locale to enable it's generation
# && sed -i 's/# pl_PL.UTF-8 UTF-8/pl_PL.UTF-8 UTF-8/' /etc/locale.gen \
# # generate chosen locale
# && locale-gen pl_PL.UTF-8

## set system-wide locale settings
#ENV LANG pl_PL.UTF-8
#ENV LANGUAGE pl_PL
#ENV LC_ALL pl_PL.UTF-8

RUN cd /opt \
git clone https://github.com/choosehappy/HistoQC.git \
pip3 install -r /opt/HistoQC/requirements.txt
&& git clone https://github.com/choosehappy/HistoQC.git \
&& pip3 install -r /opt/HistoQC/requirements.txt

0 comments on commit e680905

Please sign in to comment.