Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
Added apt-get update and then install locales, otherwise, the docker image would fail at this step.
  • Loading branch information
nischaygowda1 authored Feb 2, 2018
1 parent c9d75e7 commit 90a776d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oss-drivers/pyodbc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*

# install necessary locales
RUN apt-get install -y locales \
RUN apt-get update && apt-get install -y locales \
&& echo "en_US.UTF-8 UTF-8" > /etc/locale.gen \
&& locale-gen
RUN pip install --upgrade pip
Expand All @@ -42,4 +42,4 @@ RUN mkdir /sample
ADD . /sample
WORKDIR /sample

CMD /bin/bash ./entrypoint.sh
CMD /bin/bash ./entrypoint.sh

0 comments on commit 90a776d

Please sign in to comment.