-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from petrovm3/patch-2
Workaround for fixing UTF8 issues
- Loading branch information
Showing
1 changed file
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |